develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #56348] glob() with spaces - documentation unclear

Thread Previous | Thread Next
From:
Paul Fenwick
Date:
June 26, 2008 03:27
Subject:
Re: [perl #56348] glob() with spaces - documentation unclear
Message ID:
48636EEC.4000005@perltraining.com.au
H.Merijn Brand wrote:

>> "What would csh do?"
> 
> $ touch foo.c baar.o "foo bar.o"
> $ ls *.c *.o
> baar.o  foo bar.o  foo.c  xx.c

Sorry, that was a poor attempt at humour on my behalf, alluding to the "What 
would X do?" meme that occasionally floats about.

Having said that, given that *, ?, [a-z], and {foo,bar,baz} all seem to work 
the same way in both csh and bash, I don't actually know what csh does 
differently to bash[1].

Cheerio,

	Paul

-- 
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About