From owner-man-jp-reviewer@jp.freebsd.org  Tue Jun  6 04:15:49 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA31823;
	Tue, 6 Jun 2000 04:15:49 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA31818
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 6 Jun 2000 04:15:48 +0900 (JST)
	(envelope-from kuma@nk.rim.or.jp)
Received: from mail1.rim.or.jp
	by serio.al.rim.or.jp (8.9.3/3.7W/HMX-12) id EAA05459
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 6 Jun 2000 04:15:50 +0900 (JST)
Received: from nk.rim.or.jp (gatekeeper.sharplabs.com [216.65.151.101]) by mail1.rim.or.jp (3.7W)
	id EAA21736 for <man-jp-reviewer@jp.freebsd.org>; Tue, 6 Jun 2000 04:15:47 +0900 (JST)
Date: Tue, 6 Jun 2000 04:15:47 +0900 (JST)
Message-Id: <200006051915.EAA21736@mail1.rim.or.jp>
To: man-jp-reviewer@jp.freebsd.org
From: Norihiro Kumagai <kuma@nk.rim.or.jp>
In-reply-to: Your message of "Mon, 05 Jun 2000 17:22:40 +0900."
             <20000605172240S.takaha@pd.bs1.fc.nec.co.jp>
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp-reviewer 2622
Subject: [man-jp-reviewer 2622] Re: [man-jp 2487] update to 4.0-RELEASE (grep.1, sed.1, ipfw.8)
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: kuma@nk.rim.or.jp

$B7'C+$G$9!#(B

In Message <20000605172240S.takaha@pd.bs1.fc.nec.co.jp>,
  Daisuke Takahashi <takaha@eurus.dti.ne.jp> writes:
> `even if it appears to be one' $B$N0UL#$H!"(B

$B!V$?$H$($=$l$,%*%W%7%g%s$N$h$&$K8+$($?$H$7$F$b!W$H$$$&46$8$N0UL#$G$7$g(B
$B$&!#@hF,$,%^%$%J%9$+$i;O$^$k%U%!%$%kL>$r0z?t$K?)$o$;$F$7$^$&$H!"(Bgrep 
$B$O$=$l$r%*%W%7%g%s$H$7$F2r<a$7$F$7$^$$$^$9!#$=$l$r;_$a$5$;$k$?$a$N<jCJ(B
$B$J$N$G!">e$NJ8$O$=$&$$$&>u67$rI=$7$F$$$^$9!#(B

> $B:G8e$N0lJ8(B($BFC$K(Bspecifying$B$,(B
> $B$I$3$K$+$+$k$N$+(B)$B$,8+Ev$D$+$J$/$J$C$F$7$^$$$^$7$?(B...

specifying which operands
1) are the result of file name windcard expansion
and
2) therefore, should not be treated as options.

$B$HFI$`$N$G$O$J$$$+$J!#$D$^$j!"(B

  $B$I$N%*%Z%i%s%I$,%U%!%$%kL>%o%$%k%I%+!<%IE83+$N7k2L@8$8$?$b$N$G$"$k$+!"(B
  $B$D$^$j!"$I$N%*%Z%i%s%I$r%*%W%7%g%s$H$7$F07$&$Y$-$G$J$$$+$r;XDj$9$k(B

$B$0$i$$$+$J!#(B

$B!t(B  A shell can put this variable in the environment for each command
$B!t(B  it runs $B$NItJ,$O!"%3%^%s%I5/F0;~$K!"$=$N%3%^%s%I$G$@$1;H$&4D6-JQ?t(B
$B!t(B  $B$rDj5A$9$k$3$H$r;X$9$N$G$7$g$&!#(B

$B!t(B  $B$3$N4D6-JQ?t$N@hF,$,%W%m%;%9(BID$B$G$J$1$l$P$J$i$J$$$h$&$G$9!#$@$H$9$k(B
$B!t(B  $B$H!"%7%'%k$O;R6!$N%W%m%;%9(BID$B$rCN$C$F!"$=$l$+$i;R6!$K4D6-JQ?t$r:n$C(B
$B!t(B  $B$FEO$5$M$P$J$j$^$;$s$M$'!#$3$l$O$:$$$V$s$*$*$4$H$G$9$M$'!#(Bfork $B$H(B 
$B!t(B  execvp $B$N4V$G4D6-JQ?t$r:n$i$J$$$H$$$+$s$N$G$9$+$i!"(BC $B$G$4$j$4$j=q(B
$B!t(B  $B$/$J$iBg>fIW$G$7$g$&$,!"IaDL$N%7%'%k%9%/%j%W%H$G;H$($k$N$+$J$!!#(B

$B!t(B  $B$J$s$G4D6-JQ?t$K%W%m%;%9(BID$B$rMW5a$9$k$s$@$m$&$+!)%7%'%k%9%/%j%W%H$G(B
$B!t(B  $B=q$/$J$i%W%m%;%9$4$H$K4D6-JQ?t:n$C$FEO$9J}$,4JC1$@$m$&$K!#(B

> ---
>               (Here N is grep's numeric process ID.)  If the  ith
>               character  of  this environment variable's value is
>               1, do not consider the ith operand of grep to be an
>               option,  even if it appears to be one.  A shell can
>               put this variable in the environment for each  com-
>               mand  it  runs,  specifying  which operands are the
>               results of file name wildcard expansion and  there-
>               fore should not be treated as options. 
> ---
>               ( N $B$O(B grep $B$N%W%m%;%9(BID$B$N?tCM$G$9(B) $B$b$7$3$N4D6-(B $BJQ(B
>               $B?t$N(B i $BHVL\$NJ8;z$NCM$,(B 1 $B$G$"$k>l9g!"$?$H$((B 1 $B$D$G(B
>               $B$"$C$F$b(B grep $B$KBP$9$k(B i $BHVL\$N0z?t$r%*%W%7%g%s$H$_(B
>               $B$J(B $B$7$^$;$s!#%7%'%k$O3F%3%^%s%I$,<B9T$5$l$k4D6-$K$3(B
>               $B$NJQ?t$r@_Dj$9$k$3$H$G!"$I$N%*%Z%i%s%I$,%o%$%k%I(B $B%+(B
>               $B!<(B $B%I$,3HD%$5$l$?$3$H$K$h$k%U%!%$%kL>$G$"$k$+;XDj$9(B
>               $B$k$?$a!"%*%W%7%g%s$H$7$F07$o$l$^$;$s!#(B
> ---

                ( N $B$O(B grep $B$N%W%m%;%9(BID$B$N?tCM$G$9(B) $B$3$N4D6-JQ?t$N(B i 
                $BHVL\$NJ8;z$NCM$,(B 1 $B$G$"$k>l9g!"(Bi $BHVL\$N0z?t$,%*%W%7%g(B
                $B%s$N$h$&$K$_$($k>l9g$G$b!"(Bgrep $B$O$3$N0z?t$r%*%W%7%g%s(B
                $B$H$_$J$7$^$;$s!#%7%'%k$,3F%3%^%s%I$,<B9T$5$l$k4D6-$K$3(B
                $B$NJQ?t$r@_Dj$9$k$3$H$G!"$I$N%*%Z%i%s%I$,%U%!%$%kL>%o%$(B
                $B%k%I%+!<%IE83+$N7k2L$G$"$k$+!"$D$^$j!"$I$N%*%Z%i%s%I$r(B
                $B%*%W%7%g%s$H$7$F07$&$Y$-$G$J$$$+$r;XDj$G$-$^$9!#(B

$B$"$?$j$GG!2?!#(B

--
$B7'C+(B $BE5Bg(B
