[CentOS] Cut command behaviour - bug or feature

Rajagopal Swaminathan raju.rajsand at gmail.com
Tue Aug 28 20:14:48 UTC 2012


Greetings,

On Wed, Aug 29, 2012 at 1:36 AM,  <m.roth at 5-cent.us> wrote:
>
> I've never been that good with cut. I'm going to see the author, Dave
> Ihnat this weekend, who sometimes shows up here... but in the meantime,
> you might use
> awk 'BEGIN {FS=",";}{print $2 "," $3 "," $1;}' infile
>

I tried it on an xp box with GnuWin32 binaries. It barked some error
showing the single quote.

I will try on a centos box later (<grin>which I am silently injecting
[installing] into that env after handwaving the xp</grin>).

-- 
Regards,

Rajagopal



More information about the CentOS mailing list