timr at slop:~$ touch \/path
touch: cannot touch `/path': Permission denied
timr at slop:~$ uname -a
Linux slop 2.6.24-timriker #1 SMP Sun Feb 17 01:36:19 MST 2008 i686
GNU/Linux
which *nix are you on? just curious.
This is OS X.
Just for yuks, I tried it on NetBSD and got the same error you did, so
score one for Apple. For the record, because someone will say "but Macs
use : for directories!" --
% touch ":path"
% ls -l ":path"
-rw-r--r-- 1 luser luser 0 Mar 3 18:04 :path
% ls -l ":"
ls: :: No such file or directory
% rm ":path"
--
------------------------------------ personal:
http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems *
www.floodgap.com * ckaiser at
floodgap.com
-- My Pink Floyd code: v1.2a s BO 1/0/pw tinG 0? 0 Relics 2 8 <6mar98> --------