Is there currently a generic command that will "pivot" input.
e.g.
#labeled.file
name: bob
title: code monkey
name: joe
title: pointy haired
is converted to:
name title
bob code monkey
joe pointy haired
and vice-versa
Is there currently a generic command that will "pivot" input.
e.g.
#labeled.file
name: bob
title: code monkey
name: joe
title: pointy haired
is converted to:
name title
bob code monkey
joe pointy haired
and vice-versa
I'm not sure there's something in coreutils that can do this, but it seems your question has been asked before by people not necessarily interested in an existing tool like you seem to be. The following links may be interesting to you as a last resort in case you can't find a tool that already does this.
For what it's worth, you may want to take a look at the GNU coreutils manual, especially the 4th section