[dundee] BashPitfalls

Martin Habets errandir_news at mph.eclipse.co.uk
Tue Feb 8 20:34:43 UTC 2011


On Wed, Nov 03, 2010 at 02:07:01PM +0000, James Le Cuirot wrote:
> On Wed, 3 Nov 2010 13:58:58 +0000
> Robert Ladyman <it at file-away.co.uk> wrote:
> 
> > This rather wonderful page is extremely useful for those learning
> > bash scripting....and those who thought they knew what they were
> > doing (cough).
> > 
> > http://mywiki.wooledge.org/BashPitfalls
> 
> Indeed, I thought I knew what I was doing but #1 has already taught me
> something! I knew that word splitting was an issue but I didn't know
> simply using *.mp3 would avoid it. Thanks. :)

Except that simply using *.mp3 does not work if no such files are present.
Also, only M$ idiots use file names with spaces in them.

-- 
Martin
---------------------------------------------------------------------------
3^H20 years from now GNU/Linux will be as redundant a term as MERT/UNIX 
is today. - Martin Habets
---------------------------------------------------------------------------



More information about the dundee mailing list