Date: Sun, 20 Feb 2005 12:20:01 -0500 From: Bill Moran <wmoran@potentialtech.com> To: Alejandro Pulver <alejandro@varnet.biz> Cc: freebsd-questions@freebsd.org Subject: Re: Shell file completion Message-ID: <20050220122001.5af0685e.wmoran@potentialtech.com> In-Reply-To: <20050220135717.27ab6a75@ale.varnet.bsd> References: <20050220135717.27ab6a75@ale.varnet.bsd>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit [Please wrap your lines around 72 chars or so] Alejandro Pulver <alejandro@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". > Where is it documented? 'man sh' - the section on "Shell Patterns". -- Bill Moran Potential Technologies http://www.potentialtech.com --Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGMbBYOm/CGAEZUARAo7QAJ9oqeSdVhq5BrI0fSRWE+jdwXTvugCgqYGj VnAHorfi1PoMLb5yfyHWvW0= =kiqf -----END PGP SIGNATURE----- --Signature=_Sun__20_Feb_2005_12_20_01_-0500_.a9M+=juCS4WdHW/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050220122001.5af0685e.wmoran>