diff options
| author | Bob Proulx <bob@proulx.com> | 2007-08-20 22:04:45 -0600 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2007-08-21 09:01:07 +0200 |
| commit | 741f851bf61c884ea41eaee2c1a90d4cab99776f (patch) | |
| tree | f1ba4a33d744c765d7d824ac8b4cb06bea62e0d6 /doc | |
| parent | NEWS: note that a cp -p bug fixed in 6.7 affected releases before 6.0. (diff) | |
| download | coreutils-741f851bf61c884ea41eaee2c1a90d4cab99776f.tar.gz coreutils-741f851bf61c884ea41eaee2c1a90d4cab99776f.zip | |
Clarify touch documentation of file arguments.
* src/touch.c (usage): Improve wording of documentation regarding
file argument handling and special handling of - argument.
* doc/coreutils.texi (touch invocation): Likewise.
Documentation problem reported by Vincent Lefevre.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/coreutils.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index e3164a950..800ca64ca 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -9271,10 +9271,11 @@ touch [@var{option}]@dots{} @var{file}@dots{} @end example @cindex empty files, creating -Any @var{file} that does not exist is created empty. +Any @var{file} argument 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. +A @var{file} argument string of @samp{-} is handled specially and +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 |
