What tool to use?

Björn Lindberg d95-bli.no.spam at nada.kth.se
Sat Aug 10 15:57:35 PDT 2002


"Mark A. Nicolosi" wrote:
> 
> Rob 'Feztaa' Park wrote:
> >
> > Alas! Bill Maltby LFS Related spake thus:
> > > OOPS, OOPS - last try.
> > >
> > >     $(VAR%%:\..*)
> >
> > or:
> >
> > sed -e 's/\..*$//' -e 's/_/ /g'
> >
> > --
> > Rob 'Feztaa' Park
> > http://members.shaw.ca/feztaa/
> > --
> > "I will make no bargains with terrorist hardware."
> > -- Peter da Silva
> > --
> > Unsubscribe: send email to listar at linuxfromscratch.org
> > and put 'unsubscribe blfs-support' in the subject header of the message
> 
> Thanks Rob, this works great.

Correct. You can write both dc and sokoban in sed (it has been done),
together with awk and shell scripting there simply is no need to ever
touch perl. :-)

> out I needed sed, but I couldn't find in documentation on sed or regular
> expressions on my system (the man pages and info weren't enough). I've
> got
> to search on google for a tutorial about regular expressions!

http://www.cornerstonemag.com/sed/

  -- Several FAQs and tutorials here

http://lf.8k.com/UNIX/SED.HTM

  -- The original manual


Björn
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list