Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/touch - Use more consistent wording;



details:   https://anonhg.NetBSD.org/src/rev/e0dc8368abc0
branches:  trunk
changeset: 779812:e0dc8368abc0
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Jun 20 09:56:18 2012 +0000

description:
- Use more consistent wording;
- create separate section, and use `.Ex' macro, for exit status
  information.

>From patch by Bug Hunting.

Bump date.

diffstat:

 usr.bin/touch/touch.1 |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (40 lines):

diff -r 0ef198691f2e -r e0dc8368abc0 usr.bin/touch/touch.1
--- a/usr.bin/touch/touch.1     Wed Jun 20 09:43:51 2012 +0000
+++ b/usr.bin/touch/touch.1     Wed Jun 20 09:56:18 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: touch.1,v 1.18 2011/02/22 15:47:02 wiz Exp $
+.\"    $NetBSD: touch.1,v 1.19 2012/06/20 09:56:18 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     @(#)touch.1    8.3 (Berkeley) 4/28/95
 .\"
-.Dd February 22, 2011
+.Dd June 20, 2012
 .Dt TOUCH 1
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@
 .Sh DESCRIPTION
 The
 .Nm
-utility sets the modification and access times of files to the
+utility changes the access and modification times of files to the
 current time of day.
 If the file doesn't exist, it is created with default permissions.
 .Pp
@@ -125,10 +125,8 @@
 .Dq SS
 letter pair is not specified, the value defaults to 0.
 .El
-.Pp
-The
-.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std
 .Sh COMPATIBILITY
 The obsolescent form of
 .Nm ,



Home | Main Index | Thread Index | Old Index