On 28.8.2012 21:59, Rajagopal Swaminathan wrote:
> Greetings,
> 
> I have a CSV file with three fields.
> eg.
> 
> a1,b1,c1
> a2,b2,c2
> ....
> 
> I wanted the output to be:
> b1,c1,a1
> b2,c2,a2
> ....
> 
> the command
> cut -d, -f2,3,1 <file>
> 
> returns
> 
> a1,b1,c1

cut cuts out, that what it does.
I think it works exactly as advertised.
On my system the manpage says

...snip
Selected input is written in the same order that it is
       read, and is written exactly once
snap...

> Is it specific to linux?

No!
-- 
Kind Regards, Markus Falb

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to