From owner-man-jp@jp.freebsd.org  Sun May  3 23:31:07 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id XAA07107
	Sun, 3 May 1998 23:31:07 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id XAA07100
	for <man-jp@jp.freebsd.org>; Sun, 3 May 1998 23:30:59 +0900 (JST)
Received: from localhost (localhost.toba-cmt.ac.jp [127.0.0.1])
	by kiri.toba-cmt.ac.jp (8.8.8/8.8.8) with ESMTP id XAA05716
	for <man-jp@jp.freebsd.org>; Sun, 3 May 1998 23:32:43 +0900 (JST)
	(envelope-from kiri@kiri.toba-cmt.ac.jp)
To: man-jp@jp.freebsd.org
X-Mailer: Mew version 1.92.4 on XEmacs 20.4 (Emerald)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19980503233237U.kiri@kiri.toba-cmt.ac.jp>
Date: Sun, 03 May 1998 23:32:37 +0900
From: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
X-Dispatcher: imput version 971024
Lines: 33
Reply-To: man-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: man-jp 898
Subject: [man-jp 898] Miss-translate "grep" in meta character?
Errors-To: owner-man-jp@jp.freebsd.org
Sender: owner-man-jp@jp.freebsd.org

$B6M;3(B $B$G$9!#(B

$B:#!#5$$E$$$?$N$GK:$l$J$$$&$A$K%a%b$7$^$9!#(B

grep $B$N@bL@$G!"(B

       $B4pK\@55,I=8=$G$O!"%a%?J8;z(B ?, +, {, |, (, ) $B$O!"$=$N0UL#$r(B
       $B<:(B $B$$(B $B$^$9!#$=$NBe$o$j$K!"%P%C%/%9%i%C%7%e$,IU$1$i$l$?(B \?,
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       \+, \{, \|, \(, \) $B$H$7$F07$o$l$^$9!#(B
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       egrep $B$H$7$F5/F0$7$?>l9g!"(B {$B$O!"@55,I=8=$H$7$F$NFC<l$J0UL#(B
       $B$O;}$A$^$;$s!#Be$o$j$K!"(B \{$B$r;H$&I,MW$,$"$j$^$9!#(B

$B?GCG(B

$B$NItJ,$,$"$j$^$9$,!"$3$l$O86J8$G(B

       In  basic  regular expressions the metacharacters ?, +, {,
       |, (, and ) lose their special meaning;	instead  use  the
                                                ~~~~~~~~~~~~~~~~~
       backslashed versions \?, \+, \{, \|, \(, and \).
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       In  egrep  the  metacharacter { loses its special meaning;
       instead use \{.

DIAGNOSTICS

$B$H$J$C$F$^$9$,!"$3$l$O!V$+$o$j$K%P%C%/%9%i%C%7%e$rIU$1$?(B \?, \+, \{,
\|, \(, \) $B$rMQ$$$F$/$@$5$$!W$8$c$J$$$G$7$g$&$+!)(B $B<B:]$=$&$G$7$?!#(B
---
KIRIYAMA Kazuhiko
kiri@kiri.toba-cmt.ac.jp
