[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] sed Help




And Lo! The Great Prophet " Dawson, Alan" uttered these words of wisdom...
>
> ...[stuff]...

And now for something completely different.

How to do it with awk, seeing as sed and perl have now been beaten to death.

        awk '{ print "whatever/"$0 }' infile > outfile

Chris...

-- 
\ Chris Johnson                 \
 \ cej [at] nightwolf.org.uk          \
  \ http://cej.nightwolf.org.uk/  ~-----------------------------------+
   \ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____



___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.