projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3 release
[unix-history]
/
usr
/
man
/
man1
/
touch.1
diff --git
a/usr/man/man1/touch.1
b/usr/man/man1/touch.1
index
9a97428
..
1e29486
100644
(file)
--- a/
usr/man/man1/touch.1
+++ b/
usr/man/man1/touch.1
@@
-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,19
+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
.SH SEE\ ALSO
-utime(2)
+utime
s
(2)