Cosmetic.
This commit is contained in:
parent
4e9b4d0568
commit
aa736575ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28367
@ -32,23 +32,23 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" 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
|
.Dt TOUCH 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm touch
|
.Nm touch
|
||||||
.Nd change file access and modification times
|
.Nd change file access and modification times
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm touch
|
.Nm
|
||||||
.Op Fl acfm
|
.Op Fl acfm
|
||||||
.Op Fl r Ar file
|
.Op Fl r Ar file
|
||||||
.Op Fl t [[CC]YY]MMDDhhmm[.SS]
|
.Op Fl t Ar [[CC]YY]MMDDhhmm[.SS]
|
||||||
.Ar file ...
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm touch
|
.Nm
|
||||||
utility sets the modification and access times of files to the
|
utility sets the modification and access times of files to the
|
||||||
current time of day.
|
current time of day.
|
||||||
If the file doesn't exist, it is created with default permissions.
|
If the file doesn't exist, it is created with default permissions.
|
||||||
@ -63,7 +63,7 @@ flag is also specified.
|
|||||||
.It Fl c
|
.It Fl c
|
||||||
Do not create the file if it does not exist.
|
Do not create the file if it does not exist.
|
||||||
The
|
The
|
||||||
.Nm touch
|
.Nm
|
||||||
utility does not treat this as an error.
|
utility does not treat this as an error.
|
||||||
No error messages are displayed and the exit value is not affected.
|
No error messages are displayed and the exit value is not affected.
|
||||||
.It Fl f
|
.It Fl f
|
||||||
@ -124,7 +124,7 @@ letter pair is not specified, the value defaults to 0.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm touch
|
.Nm
|
||||||
utility exits 0 on success, and >0 if an error occurs.
|
utility exits 0 on success, and >0 if an error occurs.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr utimes 2
|
.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.
|
otherwise, the year is set in the 21st century.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
A
|
A
|
||||||
.Nm touch
|
.Nm
|
||||||
command appeared in
|
utility appeared in
|
||||||
.At v7 .
|
.At v7 .
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm touch
|
.Nm
|
||||||
function is expected to be a superset of the
|
utility is expected to be a superset of the
|
||||||
.St -p1003.2
|
.St -p1003.2
|
||||||
specification.
|
specification.
|
||||||
|
Loading…
Reference in New Issue
Block a user