aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/touch/touch.1
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-08-18 07:22:53 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-08-18 07:22:53 +0000
commitaa736575ab199dcebc5450c4c2445f8b7548aff3 (patch)
treef8881228a45385e4df9cf4a635c09c1d7bd8efdf /usr.bin/touch/touch.1
parent4e9b4d056826705d7bad7a6b348c62e828838d18 (diff)
downloadsrc-aa736575ab199dcebc5450c4c2445f8b7548aff3.tar.gz
src-aa736575ab199dcebc5450c4c2445f8b7548aff3.zip
Cosmetic.
Notes
Notes: svn path=/head/; revision=28367
Diffstat (limited to 'usr.bin/touch/touch.1')
-rw-r--r--usr.bin/touch/touch.124
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/touch/touch.1 b/usr.bin/touch/touch.1
index 38b9ebc6cc71..f8a7d3e873d3 100644
--- a/usr.bin/touch/touch.1
+++ b/usr.bin/touch/touch.1
@@ -32,23 +32,23 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)touch.1 8.2 (Berkeley) 12/30/93
+.\" @(#)touch.1 8.3 (Berkeley) 4/28/95
.\"
-.Dd December 30, 1993
+.Dd April 28, 1995
.Dt TOUCH 1
.Os
.Sh NAME
.Nm touch
.Nd change file access and modification times
.Sh SYNOPSIS
-.Nm touch
+.Nm
.Op Fl acfm
.Op Fl r Ar file
-.Op Fl t [[CC]YY]MMDDhhmm[.SS]
-.Ar file ...
+.Op Fl t Ar [[CC]YY]MMDDhhmm[.SS]
+.Ar
.Sh DESCRIPTION
The
-.Nm touch
+.Nm
utility sets the modification and access times of files to the
current time of day.
If the file doesn't exist, it is created with default permissions.
@@ -63,7 +63,7 @@ flag is also specified.
.It Fl c
Do not create the file if it does not exist.
The
-.Nm touch
+.Nm
utility does not treat this as an error.
No error messages are displayed and the exit value is not affected.
.It Fl f
@@ -124,7 +124,7 @@ letter pair is not specified, the value defaults to 0.
.El
.Pp
The
-.Nm touch
+.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr utimes 2
@@ -156,12 +156,12 @@ letter pair is in the range 69 to 99, the year is set to 1969 to 1999,
otherwise, the year is set in the 21st century.
.Sh HISTORY
A
-.Nm touch
-command appeared in
+.Nm
+utility appeared in
.At v7 .
.Sh STANDARDS
The
-.Nm touch
-function is expected to be a superset of the
+.Nm
+utility is expected to be a superset of the
.St -p1003.2
specification.