help me with this sed expression

Gautam Gopalakrishnan ggop at madras.dyndns.org
Mon Jan 5 18:26:10 PST 2004


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


More information about the freebsd-questions mailing list