Clayton Weaver <cgweav@eskimo.com> wrote:
+---------------
| On 23 Jun 2000, Joe Marshall wrote:
| > Suppose I want to create three files called "-t", "06071142", and
| > "foo". What do I type? (Hint: Not `touch -t 06071142 foo')
|
| It's ambiguous to touch if you include them all on the same command
| line, whether you quote them together or not. You need to supply
| the "-t" filename to a touch command by itself...
+---------------
Not really, if you use the standard Unix idiom for that very case:
% touch ./-t 06071142 foo
% ls -l
total 0
-rw-r--r-- 1 rpw3 engr 0 Jun 24 18:43 -t
-rw-r--r-- 1 rpw3 engr 0 Jun 24 18:43 06071142
-rw-r--r-- 1 rpw3 engr 0 Jun 24 18:43 foo
%
-Rob
-----
Rob Warnock, 41L-955 rpw3@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. PP-ASEL-IA
Mountain View, CA 94043