aboutsummaryrefslogtreecommitdiff
path: root/bin/pwd
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-05-15 06:30:58 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-05-15 06:30:58 +0000
commitc9a8d1f4ddce0e113129507ab55689b6e922f60d (patch)
tree4d875c54c001c6a85cd73996481b288987192123 /bin/pwd
parent06f628852afd3c955a261b194603c90dbe0e0cfa (diff)
downloadsrc-c9a8d1f4ddce0e113129507ab55689b6e922f60d.tar.gz
src-c9a8d1f4ddce0e113129507ab55689b6e922f60d.zip
Correct use of .Nm. Add rcsid.
Notes
Notes: svn path=/head/; revision=36049
Diffstat (limited to 'bin/pwd')
-rw-r--r--bin/pwd/pwd.16
-rw-r--r--bin/pwd/pwd.c8
2 files changed, 8 insertions, 6 deletions
diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1
index ca900594ac24..39f0d5effa76 100644
--- a/bin/pwd/pwd.1
+++ b/bin/pwd/pwd.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)pwd.1 8.2 (Berkeley) 4/28/95
-.\" $Id$
+.\" $Id: pwd.1,v 1.5 1997/02/22 14:05:15 peter Exp $
.\"
.Dd April 28, 1995
.Dt PWD 1
@@ -44,14 +44,14 @@
.Sh SYNOPSIS
.Nm pwd
.Sh DESCRIPTION
-.Nm
+.Nm Pwd
writes the absolute pathname of the current working directory to
the standard output.
.Pp
The pwd utility exits 0 on success, and >0 if an error occurs.
.Sh STANDARDS
The
-.Nm pwd
+.Nm
command is expected to be
.St -p1003.2
compatible.
diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c
index 63b68686406a..fab0dfbd0a42 100644
--- a/bin/pwd/pwd.c
+++ b/bin/pwd/pwd.c
@@ -29,8 +29,6 @@
* 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.
- *
- * $Id: pwd.c,v 1.5 1997/02/22 14:05:16 peter Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
+#if 0
+static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <err.h>