summaryrefslogtreecommitdiffstats
path: root/bin/pwd
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:07:30 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:07:30 +0000
commit0aef04187c65f5b7c84d848d3becef7ee602a9d9 (patch)
treee93e27c89e2ed33c410b39e3d0e25a197029458e /bin/pwd
parent69e648985f258dc0f75c905b5a671ca4a469a279 (diff)
downloadFreeBSD-src-0aef04187c65f5b7c84d848d3becef7ee602a9d9.zip
FreeBSD-src-0aef04187c65f5b7c84d848d3becef7ee602a9d9.tar.gz
Merge Lite2 mods, cleanup man page, and -Wall cleaning.
Diffstat (limited to 'bin/pwd')
-rw-r--r--bin/pwd/pwd.112
-rw-r--r--bin/pwd/pwd.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1
index d340aa7..15be3c1 100644
--- a/bin/pwd/pwd.1
+++ b/bin/pwd/pwd.1
@@ -32,10 +32,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)pwd.1 8.1 (Berkeley) 5/31/93
-.\" $Id$
+.\" @(#)pwd.1 8.2 (Berkeley) 4/28/95
+.\" $Id: pwd.1,v 1.2 1994/09/24 02:56:51 davidg Exp $
.\"
-.Dd May 31, 1993
+.Dd April 28, 1995
.Dt PWD 1
.Os BSD 4
.Sh NAME
@@ -44,7 +44,7 @@
.Sh SYNOPSIS
.Nm pwd
.Sh DESCRIPTION
-.Nm Pwd
+.Nm
writes the absolute pathname of the current working directory to
the standard output.
.Pp
@@ -54,11 +54,11 @@ The
.Nm pwd
command is expected to be
.St -p1003.2
-compatible .
+compatible.
.Sh SEE ALSO
.Xr cd 1 ,
.Xr csh 1 ,
-.Xr getwd 3
+.Xr getcwd 3
.Sh BUGS
In
.Xr csh 1
diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c
index 4cb2d19..605fe38 100644
--- a/bin/pwd/pwd.c
+++ b/bin/pwd/pwd.c
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: pwd.c,v 1.2 1994/09/24 02:56:52 davidg Exp $
*/
#ifndef lint
-static char copyright[] =
+static char const copyright[] =
"@(#) Copyright (c) 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
+static char const sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
#endif /* not lint */
#include <err.h>
OpenPOWER on IntegriCloud