[ILUG] listing files
Jerry Walsh
jerry at aardvark.ie
Mon Jul 16 12:26:27 IST 2001
At 11:51 16/07/01 +0100, kevin lyda wrote:
>On Mon, Jul 16, 2001 at 11:07:07AM +0100, Jerry Walsh wrote:
> > You could also just do:
> >
> > ls foo*[^re]c
>
>no. unless tcsh implements regexp's *really* weird, that means a
>string beginning with foo, contains any number of chars for a while,
>and then has a char that is neither r or e, and then the last char is c.
>so the following starred files would be listed in your example:
>
>* foo2c
> fooec
> foorc
> foo2.rec
> fooc
Isn't that what he wanted?
More information about the ILUG
mailing list