[Top][All Lists]

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

Re: Is this a bug?

From: Eric Blake
Subject: Re: Is this a bug?
Date: Thu, 5 Nov 2009 14:58:38 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric Blake <ebb9 <at> byu.net> writes:

> Not a bug.  dir1 ends in a 1, so you got the results of 'ls dir1', which
> lists the contents of that directory without regards to whether the
> contents match the original glob you typed on the command line.  Globbing
> is done before ls starts; to see what you really did, try:
> $ ls *[0-9]

I typo'd that.  I meant for you to try:

$ echo ls *[0-9]

Eric Blake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]