From owner-man-jp-reviewer@jp.freebsd.org  Tue Apr 21 00:48:44 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id AAA28940
	Tue, 21 Apr 1998 00:48:44 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id AAA28925
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 21 Apr 1998 00:48:41 +0900 (JST)
Received: from localhost (localhost [127.0.0.1])
	by yk.rim.or.jp (8.8.7/8.8.7) with ESMTP id AAA00713
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 21 Apr 1998 00:48:27 +0900 (JST)
	(envelope-from k-horik@yk.rim.or.jp)
To: man-jp-reviewer@jp.freebsd.org
X-Mailer: Mew version 1.92 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Tue_Apr_21_00:12:23_1998_902)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19980421004827P.k-horik@yk.rim.or.jp>
Date: Tue, 21 Apr 1998 00:48:27 +0900
From: Kazuo Horikawa <k-horik@yk.rim.or.jp>
X-Dispatcher: imput version 971024
Lines: 104
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: man-jp-reviewer 32
Subject: [man-jp-reviewer 32] basename.1 as 2.2-980419-SNAP
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org

----Next_Part(Tue_Apr_21_00:12:23_1998_902)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

$BKY@n$G$9!#>.$5$$$N$GEvJ}$GD>$7$F$*$-$^$7$?!#(B

----Next_Part(Tue_Apr_21_00:12:23_1998_902)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Content-Description: basename.1.diff

--- basename.1~	Mon Apr 20 22:17:29 1998
+++ basename.1	Mon Apr 20 22:52:57 1998
@@ -34,7 +34,7 @@
 .\"
 .\"     @(#)basename.1	8.2 (Berkeley) 4/18/94
 .\" jpman %Id: basename.1,v 1.2 1997/03/26 15:20:48 jsakai Stab %
-.\"	%Id: basename.1,v 1.2 1996/09/23 22:24:09 wosch Exp %
+.\"	%Id: basename.1,v 1.2.2.1 1998/04/14 22:10:40 danny Exp %
 .\"
 .Dd April 18, 1994
 .Dt BASENAME 1
@@ -59,20 +59,19 @@
 $B:o=|$7!"(B
 .Ar suffix
 $B$,;XDj$5$l$?>l9g$O$3$l$b:o=|$7$^$9!#(B
-$B$=$7$F!"$=$N7k2LF@$i$l$k%U%!%$%kL>$rI8=`=PNO$K=q$-=P$7$^$9!#(B
-$B$b$7!"(B
+($B$^$:8eB3$9$kJ#?t$N%9%i%C%7%e$r<h$j=|$$$?(B)
 .Ar string
-$B$,%9%i%C%7%e(B
-.Ql /
-$B$G=*$C$F$$$k$+!"$"$k$$$O(B
+$B$K;D$5$l$?J8;zNs$H(B
 .Ar suffix
-$B0z?t$HF1$8$G$"$C$?>l9g$K$O!"2~9T$r=PNO$7$^$9!#(B
+$B$,$^$C$?$/F1$8>l9g$K$O!":o=|$7$^$;$s!#(B
+$B$=$7$F!"$=$N7k2LF@$i$l$k%U%!%$%kL>$rI8=`=PNO$K=q$-=P$7$^$9!#(B
 $BB8:_$7$J$$(B 
 .Ar suffix
 $B$OL5;k$7$^$9!#(B
 .Pp
 .Nm dirname
 $B$O(B 
+($B$^$:8eB3$9$kJ#?t$N%9%i%C%7%e$r<h$j=|$$$?(B)
 .Ar string
 $BCf$N:G8e$N(B
 .Ql \&/

----Next_Part(Tue_Apr_21_00:12:23_1998_902)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: basename.1.ediff

diff -urNP /home/jaz/horikawa/man-jp/work/fbsd-2.2-980411-SNAP/man/man1/basename.1 man1/basename.1
--- /home/jaz/horikawa/man-jp/work/fbsd-2.2-980411-SNAP/man/man1/basename.1	Sun Apr 12 00:29:42 1998
+++ man1/basename.1	Mon Apr 20 00:18:01 1998
@@ -33,7 +33,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)basename.1	8.2 (Berkeley) 4/18/94
-.\"	$Id: basename.1,v 1.2 1996/09/23 22:24:09 wosch Exp $
+.\"	$Id: basename.1,v 1.2.2.1 1998/04/14 22:10:40 danny Exp $
 .\"
 .Dd April 18, 1994
 .Dt BASENAME 1
@@ -52,19 +52,16 @@
 deletes any prefix ending with the last slash
 .Ql \&/
 character present in
-.Ar string ,
+.Ar string
+(after first stripping trailing slashes),
 and a
 .Ar suffix ,
 if given.
-The resulting filename is written to the standard output.
-If
-.Ar string
-ends in the slash character,
-.Ql / ,
-or is the same as the
+The
 .Ar suffix
-argument,
-a newline is output.
+is not stripped if it is identical to the remaining characters in
+.Ar string .
+The resulting filename is written to the standard output.
 A non-existent suffix is ignored.
 .Pp
 .Nm Dirname
@@ -72,7 +69,8 @@
 with the last slash
 .Ql \&/
 character to the end of
-.Ar string , 
+.Ar string
+(after first stripping trailing slashes), 
 and writes the result to the standard output.
 .Sh EXAMPLES 
 The following line sets the shell variable

----Next_Part(Tue_Apr_21_00:12:23_1998_902)----
