why does "cut" print fields in original order?

Robert P. J. Day rpjday at crashcourse.ca
Wed Nov 21 07:14:30 UTC 2007


On Wed, 21 Nov 2007, Les Mikesell wrote:

> Robert P. J. Day wrote:

> > i understand that that's not indicated on the man page.  on the
> > other hand, is there any reason that it *wasn't* done that way?

> You need  some reason to type:
> sed -e 's/\(.*\):\(.*\):\(.*\):\(.*\):\(.*\):\(.*\):\(.*\)/\7:\1/'

you are a truly sick person, and should seek help.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================




More information about the fedora-list mailing list