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

Re: Bug in my shell script



> | -----Original Message-----
> | From: guinness-list-admin@redhat.com
> | [mailto:guinness-list-admin@redhat.com]On Behalf Of Taylor, ForrestX
> |
> |
> | Doesn't the sed part substitute anything that ends with .sts with nothing,
> | and nothing ends in .sts.
> 
> * = any character
> . = one or more of the char immediately infront of it
> *. = match everything
> 
> *.sts would as far as I know (my regex might be a bit rusty)
> match /home/guests
>

The man page says "regex" and what you describe isn't. See:

man 7 regex
-- 
Cheers
John Summerfield
http://www2.ami.com.au/ for OS/2 & linux information.
Configuration, networking, combined IBM ftpsites index.

Microsoft's most solid OS: http://www.geocities.com/rcwoolley/

Note: mail delivered to me is deemed to be intended for me, for my disposition.







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