WooHoo! 10 years of FreeBSD
Josh Paetzel
josh at tcbug.org
Fri Feb 29 19:10:50 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-chat/attachments/20080229/ba2a736e/attachment.pgp
More information about the freebsd-chat
mailing list