]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(touch invocation): "touch -" now touches standard output.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2005 06:08:17 +0000 (06:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2005 06:08:17 +0000 (06:08 +0000)
doc/coreutils.texi

index 7b9da4f168b8c5acc0c274efdd1c565407ddff83..66d4c717d61e37771ecef951ec377294523c442c 100644 (file)
@@ -8541,6 +8541,9 @@ touch [@var{option}]@dots{} @var{file}@dots{}
 @cindex empty files, creating
 Any @var{file} that does not exist is created empty.
 
+A @var{file} of @samp{-} causes @command{touch} to change the
+times of the file associated with standard output.
+
 @cindex permissions, for changing file timestamps
 If changing both the access and modification times to the current
 time, @command{touch} can change the timestamps for files that the user