BSD 4_3 release
[unix-history] / usr / man / man1 / touch.1
index 6ec9db2..1e29486 100644 (file)
@@ -1,4 +1,7 @@
-.TH TOUCH 1 
+.\"    @(#)touch.1     6.1 (Berkeley) 4/29/85
+.\"
+.TH TOUCH 1 "April 29, 1985"
+.AT 3
 .SH NAME
 touch \- update date last modified of a file
 .SH SYNOPSIS
 .SH NAME
 touch \- update date last modified of a file
 .SH SYNOPSIS
@@ -6,17 +9,29 @@ touch \- update date last modified of a file
 [
 .B \-c
 ]
 [
 .B \-c
 ]
+[
+.B \-f
+]
 file ...
 .SH DESCRIPTION
 .I Touch
 attempts to set the modified date of each
 file ...
 .SH DESCRIPTION
 .I Touch
 attempts to set the modified date of each
-.I file.
-This is done by reading a character from the file
+.IR file .
+If a
+.I file
+exists,
+this is done by reading a character from the file
 and writing it back.
 and writing it back.
-.PP
 If a
 .I file
 does not exist,
 an attempt will be made to create it unless the
 .B \-c
 option is specified.
 If a
 .I file
 does not exist,
 an attempt will be made to create it unless the
 .B \-c
 option is specified.
+The
+.B \-f
+option will attempt to force the touch
+in spite of read and write permissions on a
+.IR file .
+.SH SEE\ ALSO
+utimes(2)