Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!infoweb-news!news.fukuoka.infoweb.or.jp!newshost.ryukyu.ad.jp!sour!merope!void
From: void@merope.opus.or.jp (Kusakabe Youichi)
Subject: Re: Please tell me origin of grep.
Message-ID: <1996Jan19.194039.12925@merope.opus.or.jp>
Organization: Macintosh User Group PLEIADES in opus (Okinawa Personal Unix Society)
X-Newsreader: TIN [version 1.2 PL0]
References: <QKOIDE.96Jan19191452@rssun1.cs.shinshu-u.ac.jp>
Date: Fri, 19 Jan 1996 19:40:39 GMT
Lines: 17
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:5223
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=5223&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

Koide Hiroshi (qkoide@rssun1.cs.shinshu-u.ac.jp) wrote:
: unix$B$N%Q%?!<%s%^%C%A%s%0$N%3%^%s%I$K(Bgrep$B$,$"$j$^$9$,!"(B
: grep$B$H8@$&L>$NM3Mh$O$I$3$+$iMh$F$$$k$N$G$9$+(B?
: #$B;d$O(B Get Regular ExPression $B$+$H;W$&$N$G$9$,!"$I$&$G$7$g$&$+!#(B

g /RegularExpression/ p
$B$G$9$+$i!"(Bglobal$B;XDj$H(Bprint$B%3%^%s%I$G$9$M!#(B (ed$B$+(Bex$B$N%^%K%e%"%k$G$bFI$s$G$M(B)

:   $B$^$?!"(Begrep,fgrep$B$N(B e $B$H(B f $B$O2?$r0UL#$7$F$$$k$N$G$9$+!#(B

egrep$B$N(Be$B$O3HD%$H$+$=$&$$$&0UL#$G$7$g$&!#(B
f$B$O(Bfast$B$@$HJ9$$$?$1$I(B($B$G$bCY$$$1$I(B)

  $B%X(B_$B%X(B   ------------------------
$B%_!&!&(B $B%_(B  void@merope.opus.or.jp
 (  $B!k(B )$B!A(B            $BF|2<ItM[0l(B
----------------------------------
