add POSIX/IEEE contribution notice
[unix-history] / usr / src / usr.bin / touch / touch.1
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)touch.1 6.4 (Berkeley) %G%
.\"
.Dd
.Dt TOUCH 1
.Os
.Sh NAME
.Nm touch
.Nd update date last modified of a file
.Sh SYNOPSIS
.Nm touch
.Op Fl c
.Op Fl f
.Ar file ...
.Sh DESCRIPTION
The
.Nm touch
utility
changes the modification and or access times
of the given
.Ar file .
.Pp
Available options:
.Bl -tag -width Ds
.It Fl c
Do not create a specified file if it does not exist.
Do not write any diagnostic messages concerning this
condition.
.It Fl f
Attempt to force the
.Nm touch
in spite of read and write permissions on a
.Ar file .
.Sh SEE ALSO
.Xr utimes 2
.Sh HISTORY
A
.Nm
command appeared in
.At v7 .
This command is
.Ud .