]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r236852: touch: Add the -d option from POSIX.1-2008.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 21 Oct 2012 21:47:58 +0000 (21:47 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 21 Oct 2012 21:47:58 +0000 (21:47 +0000)
commitd28e675292fc7fb237878e4736b12e9b8473f228
tree54e5123fe4640b4c80850719c81afa10d22f252b
parentbf762c4dca623eed11a9bc3e1ab3c55e5905b009
MFC r236852: touch: Add the -d option from POSIX.1-2008.

This is much like -t but with a different format which is ISO8601-like and
allows fractions of a second.

The precision is limited to microseconds because of utimes() and friends,
even though stat() returns nanoseconds.

git-svn-id: svn://svn.freebsd.org/base/stable/9@241819 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/touch/touch.1
usr.bin/touch/touch.c