8a72894489
Sync with the original version. Unify some japanese words. Submitted by: kano@na.rim.or.jp
116 lines
3.4 KiB
Groff
116 lines
3.4 KiB
Groff
.\" Copyright (c) 1990, 1993, 1994
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" This code is derived from software contributed to Berkeley by
|
||
.\" the Institute of Electrical and Electronics Engineers, Inc.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" @(#)basename.1 8.2 (Berkeley) 4/18/94
|
||
.\" %FreeBSD: src/usr.bin/basename/basename.1,v 1.14 2004/07/03 00:24:39 ru Exp %
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd April 18, 1994
|
||
.Dt BASENAME 1
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm basename , dirname
|
||
.Nd <EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><EFBFBD>Υե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD>ʬ<EFBFBD><EFBFBD><EFBFBD>ǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ<EFBFBD>̾<EFBFBD><EFBFBD>ʬ<EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD>
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Nm
|
||
.Ar string
|
||
.Op Ar suffix
|
||
.Nm
|
||
.Op Fl a
|
||
.Op Fl s Ar suffix
|
||
.Ar string
|
||
.Op Ar ...
|
||
.Nm dirname
|
||
.Ar string
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Nm
|
||
<EFBFBD>桼<EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Ar string
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǹ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Ql \&/
|
||
<EFBFBD>ޤǤ<EFBFBD>
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD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