Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
On Tue, 1 May 2001, Stephen Montgomery-Smith wrote:
> It depends upon what letter follows. I have always done something like
>
> ls ..[a-z]* ..[A-Z]*
>
> but that depends upon the 3rd character being a letter.
That's a good one. You can also combine based on ASCII ordering:
ls ..[A-z]*
Or extend to include digits:
ls ..[0-z]*
or even farther to include the whole range of charcters:
ls ..[\ -~]*
That range from space to tilde seems to include all letters, numbers and
other characters. I made some files and it seems to work.
man ascii
On Tue, 1 May 2001, Dave Lloyd wrote:
> Or,
>
> rm ..?*
>
> The '?' only matches chars, I believe.
It looks like you are right, Dave. It worked every time.
Mike
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/