Shell file completion
Alejandro Pulver
alejandro at varnet.biz
Sun Feb 20 20:31:03 GMT 2005
On Sun, 20 Feb 2005 12:20:01 -0500
Bill Moran <wmoran at potentialtech.com> wrote:
>
> [Please wrap your lines around 72 chars or so]
>
I am using Sylpheed-Claws, and it appears to be wrapping at 78 characters. But the option 'Smart Wrapping' was set and is marked as *EXPERIMENTAL*. So I turned it off and change the wrapping to 72 characters.
> Alejandro Pulver <alejandro at varnet.biz> 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".
>
I agree.
> > Where is it documented?
>
> 'man sh' - the section on "Shell Patterns".
>
> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
>
Thank you.
Best Regards,
Ale
More information about the freebsd-questions
mailing list