summaryrefslogtreecommitdiff
path: root/usr.bin/basename
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-07-05 22:06:34 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-07-05 22:06:34 +0000
commit54280023d3ea9ff052710b207f8d10ae1f0d3759 (patch)
treede88b5ce7a3de1394e9a76e3a2bfd37aa1d635bb /usr.bin/basename
parent3f2942150c24b6d7c270e2afea6c6073d95aae93 (diff)
Move manpage to appropriate directory
Diffstat (limited to 'usr.bin/basename')
-rw-r--r--usr.bin/basename/Makefile3
-rw-r--r--usr.bin/basename/dirname.177
2 files changed, 1 insertions, 79 deletions
diff --git a/usr.bin/basename/Makefile b/usr.bin/basename/Makefile
index 93ab1c4d7f1..496ea4d9860 100644
--- a/usr.bin/basename/Makefile
+++ b/usr.bin/basename/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.4 1998/07/04 08:52:31 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 2001/07/05 22:06:33 pjanzen Exp $
PROG= basename
-MAN= basename.1 dirname.1
.include <bsd.prog.mk>
diff --git a/usr.bin/basename/dirname.1 b/usr.bin/basename/dirname.1
deleted file mode 100644
index cb60d296fae..00000000000
--- a/usr.bin/basename/dirname.1
+++ /dev/null
@@ -1,77 +0,0 @@
-.\" $OpenBSD: dirname.1,v 1.7 2000/03/04 21:12:01 aaron Exp $
-.\"
-.\" 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.
-.\"
-.\" @(#)dirname.1 8.2 (Berkeley) 4/18/94
-.\"
-.Dd April 18, 1994
-.Dt DIRNAME 1
-.Os
-.Sh NAME
-.Nm dirname
-.Nd return directory portion of pathname
-.Sh SYNOPSIS
-.Nm dirname
-.Ar string
-.Sh DESCRIPTION
-.Nm
-deletes the filename portion, beginning
-with the last slash
-.Pq Sq \&/
-character to the end of
-.Ar string ,
-and writes the result to the standard output.
-.Pp
-The
-.Nm
-utility
-exits 0 on success or >0 if an error occurred.
-.Sh EXAMPLES
-The following line sets the shell variable
-.Ev FOO
-to
-.Pa /usr/bin :
-.Pp
-.Dl FOO=`dirname /usr/bin/tail`
-.Sh SEE ALSO
-.Xr basename 1 ,
-.Xr csh 1 ,
-.Xr sh 1 ,
-.Xr dirname 3
-.Sh STANDARDS
-The
-.Nm
-utility conforms to
-.St -p1003.2-92 .