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://listman.redhat.com/archives/fedora-list/attachments/20071121/8443813d/attachment-0001.sig>


More information about the fedora-list mailing list