[Gllug] Extracting substrings in bash script

Nix nix at esperi.org.uk
Wed Nov 7 08:13:00 UTC 2007


On 7 Nov 2007, Tethys uttered the following:

> --------
>
> Nix writes:
>
>>The trick is to do the extraction before it hits the backticks. `` (or
>>its more recent nestable incarnation, $()), converts \n to whitespace.
>
> Errr... no they don't.

Don't they?

... er. no, they don't. That's only fifteen years I've been labouring
under that misconception...

-- 
`Some people don't think performance issues are "real bugs", and I think 
such people shouldn't be allowed to program.' --- Linus Torvalds
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list