summaryrefslogtreecommitdiff
path: root/usr.bin/touch
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-03-05 13:35:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-03-05 13:35:28 +0000
commit52d491ebb8762351e9677a70bf45e656f06d5d9f (patch)
tree9d07546d6ebbff83b3c93e5d1f92d18067404b3d /usr.bin/touch
parente92513e0a419b83b219a260f9926c09aa9ad2ae0 (diff)
Mention that if you use a space as the separator in the argument
for the -d option you should quote the argument. Based on a diff from jmc@. OK jmc@
Diffstat (limited to 'usr.bin/touch')
-rw-r--r--usr.bin/touch/touch.16
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/touch/touch.1 b/usr.bin/touch/touch.1
index 55e80740bec..a12cd955622 100644
--- a/usr.bin/touch/touch.1
+++ b/usr.bin/touch/touch.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: touch.1,v 1.28 2011/09/16 19:36:07 jmc Exp $
+.\" $OpenBSD: touch.1,v 1.29 2013/03/05 13:35:27 millert Exp $
.\" $NetBSD: touch.1,v 1.8 1995/08/31 22:10:05 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)touch.1 8.3 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: September 16 2011 $
+.Dd $Mdocdate: March 5 2013 $
.Dt TOUCH 1
.Os
.Sh NAME
@@ -90,6 +90,8 @@ a number from 1 to 31.
Either the capital letter
.Sq T
or a single space.
+If a space is used, the argument should be quoted to
+prevent the shell from splitting it into multiple words.
.It Ar HH
Hour:
a number from 0 to 23.