[Please wrap your lines around 72 chars or so]

Alejandro Pulver <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I was learning regular expressions, and I noticed that the shell has
> something similar (but it is different from regular expressions).
> 
> When I type 'echo *', it replaces '*' for all the files/dirs not starting
> with a '.' (dot).
> 
> I understand the '*' in regular expressions must be preceded by other
> thing to match it.
> 
> So it is behaving like the DOS wildcards.

That's funny.  More like "DOS wildcards seem to mimic this".

> Where is it documented?

'man sh' - the section on "Shell Patterns".

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com

Attachment: pgp4EF5YGjKKn.pgp
Description: PGP signature

Reply via email to