bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

touch documentation pretends ctime doesn't exist


From: Dan Jacobson
Subject: touch documentation pretends ctime doesn't exist
Date: 22 Mar 2001 23:04:36 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

[more touch ctime doc gripes:]
$ touch --help
Update the access and modification times of each FILE to the current time.
***but it also modifies the 'ctime'... you didn't say that.
  -a                     change only the access time
***but it also modifies the 'ctime'... you didn't say that.
  -m                     change only the modification time
***but it also modifies the 'ctime'... you didn't say that.
$ touch z;stat z
Access: Thu Mar 22 22:54:33 2001
Modify: Thu Mar 22 22:54:33 2001
Change: Thu Mar 22 22:54:33 2001...
$ touch -a z;stat z
Access: Thu Mar 22 22:54:42 2001
Modify: Thu Mar 22 22:54:33 2001
Change: Thu Mar 22 22:54:42 2001
$ touch -m z;stat z
Access: Thu Mar 22 22:54:42 2001
Modify: Thu Mar 22 22:54:53 2001
Change: Thu Mar 22 22:54:53 2001

Also mention a way in the docs to control the ctime independently.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 積丹尼



reply via email to

[Prev in Thread] Current Thread [Next in Thread]