看板 FB_chat 關於我們 聯絡資訊
--nextPart1269025.hrx83BUc5Q Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 29 February 2008 01:51:03 pm Nejc =A9koberne 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= =20 expanded long before grep would ever see it unless you escape it. Hence th= e=20 question about what shell the poster is using.... =2D-=20 Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart1269025.hrx83BUc5Q Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHyFi1JvkB8SevrssRAgc/AJ48RudbyvJzpVrx1yxGRMBOZwWjJgCeNLm9 FaD2YH+dAdmlOS+ORrpSP54= =mmYy -----END PGP SIGNATURE----- --nextPart1269025.hrx83BUc5Q--