diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-25 06:08:17 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-25 06:08:17 +0000 |
commit | add931ac28e275f75b676c7754c699863e6c0ad9 (patch) | |
tree | 7df3be0f9ec4d80f0652650619830e7a4a330566 /doc/coreutils.texi | |
parent | 4f688f0b3f6a5fa8631dd818b4aaa9cad2f61bf1 (diff) | |
download | coreutils-add931ac28e275f75b676c7754c699863e6c0ad9.tar.xz |
(touch invocation): "touch -" now touches standard output.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r-- | doc/coreutils.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 7b9da4f16..66d4c717d 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 |