On Friday 29 February 2008 01:51:03 pm Nejc Škoberne wrote:
> Hi,
>
> >> $ grep FreeBSD.*1998 /usr/share/misc/bsd-family-tree
> >> FreeBSD 2.2.6           1998-03-25 [FBD]
> >> FreeBSD 2.2.7           1998-07-22 [FBD]
> >> FreeBSD 3.0             1998-10-16 [FBD]
> >> FreeBSD 2.2.8           1998-11-29 [FBD]
> >>
> >> :-)
> >
> > Just out of curiosity, what shell are you using where you don't have to
> > escape * ?
>
> That's a regular expression. It means (expression ".*") "zero or more of
> anything between FreeBSD and 1998".
>
> HTH,
> Nejc

It's also a shell meta-character in the shells I'm familiar with, and gets 
expanded long before grep would ever see it unless you escape it.  Hence the 
question about what shell the poster is using....

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to