Shell file completion

Alejandro Pulver alejandro at
Sun Feb 20 16:56:46 GMT 2005


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.

Where is it documented?

Thanks and Best Regards,

More information about the freebsd-questions mailing list