Hi Patrick,

On Sat, May 28, 2011 at 8:22 PM, Patrick O'Callaghan
<pocallag...@gmail.com> wrote:
>> >
>> > $ ls \.[^.]*
>> >
>>
>> Thanks a lot Patrick, I had no idea ls accepted regular expressions!
>
> It doesn't. You need to read up on how the Shell works.

I was under the impression the shell accepts simple globs like '?' for
any single character and '*' for any one or more characters hence I
assumed it is an ls feature. I just read the "pattern matching"
section in 'man bash' and realised I was misinformed. :)

Thanks a lot.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to