aboutsummaryrefslogtreecommitdiff
path: root/bin/pwd
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1996-12-14 06:07:30 +0000
committerSteve Price <steve@FreeBSD.org>1996-12-14 06:07:30 +0000
commit435257408ca91ec450d37f5585c809c6b3ad5de9 (patch)
treee93e27c89e2ed33c410b39e3d0e25a197029458e /bin/pwd
parentca64f95092d3eabab2239829a5f9e4fa70af3afd (diff)
downloadsrc-435257408ca91ec450d37f5585c809c6b3ad5de9.tar.gz
src-435257408ca91ec450d37f5585c809c6b3ad5de9.zip
Merge Lite2 mods, cleanup man page, and -Wall cleaning.
Notes
Notes: svn path=/head/; revision=20419
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 d340aa7522a9..15be3c12521d 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 4cb2d1923e7f..605fe384caa9 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>