why does "cut" print fields in original order?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Nov 21 20:28:04 UTC 2007


Tony Nelson wrote:
> 
> This all rather begs the question of what tool to use after cut in order to
> reorder the fields?  Don't pretend the answer is sed or awk, or their ilk.
How about something like "echo $2 $1"?

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071121/8443813d/attachment-0001.bin 


More information about the users mailing list