Date: Tue, 6 Jan 2004 13:24:38 +1100 From: Gautam Gopalakrishnan <ggop@madras.dyndns.org> To: Malcolm Kay <malcolm.kay@internode.on.net> Cc: zhangweiwu@realss.com Subject: Re: help me with this sed expression Message-ID: <20040106022438.GB8122@madras.dyndns.org> In-Reply-To: <20040106022052.GA8122@madras.dyndns.org> References: <Law11-F31WerOc0Ne0P00016107@hotmail.com> <200401061230.42038.malcolm.kay@internode.on.net> <20040106022052.GA8122@madras.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 06, 2004 at 01:20:52PM +1100, Gautam Gopalakrishnan wrote: > I think awk is easier: > > awk '{print $2 " " $3 " " $1}' original | tr -s > target Sorry, that must read: awk '{print $2 " " $3 " " $1}' original | tr -s ' ' > target
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040106022438.GB8122>