summaryrefslogtreecommitdiffstats
path: root/bin/pwd
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-15 06:30:58 +0000
committercharnier <charnier@FreeBSD.org>1998-05-15 06:30:58 +0000
commitcf1a881890643db8396c6b430f309529fe461a01 (patch)
tree709d2a8061e8b93da2bdf730a891006cb218f19d /bin/pwd
parent8a9755ceef4307bb15a25bc49167da719cfbc0fa (diff)
downloadFreeBSD-src-cf1a881890643db8396c6b430f309529fe461a01.zip
FreeBSD-src-cf1a881890643db8396c6b430f309529fe461a01.tar.gz
Correct use of .Nm. Add rcsid.
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 ca90059..39f0d5e 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 63b6868..fab0dfb 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>
OpenPOWER on IntegriCloud