[buug] Sorting columns?

Aaron T Porter atporter at primate.net
Sun Aug 3 13:12:37 PDT 2003

On Sun, Aug 03, 2003 at 12:33:38PM -0700, Claude Rubinson wrote:
> I need to rejigger the actual columns (not sort by a particular column).
> So, if my columns are currently:
> foo bar baz
> 0   1   2
> after sorting (alphabetically) they should be:
> bar baz foo
> 1   2   0

	So you want to scarf the first row, alphebetize the elements, and
then jigger the rest of the file to fit?

pear	fig	apple
bosch	mission	galla
asian	beall	fuji


apple	fig	pear
galla	mission	bosch
asian	beall	fuji

More information about the buug mailing list