[Bug 362119] Re: What if exit a file/dir named "-*"

2009-04-15 Thread Michael B. Trausch
Oh, you can also prefix such strange file names with "./" to work with them, e.g.: $ ls -la total 8 drwxr-xr-x 2 mbt mbt 4096 2009-04-16 00:37 ./ drwxr-xr-x 85 mbt mbt 4096 2009-04-16 00:37 ../ $ touch ./-- $ ls -la total 8 -rw-r--r-- 1 mbt mbt0 2009-04-16 00:37 -- drwxr-xr-x 2 mbt mbt 40

[Bug 362119] Re: What if exit a file/dir named "-*"

2009-04-15 Thread Michael B. Trausch
To create a file named "--" you would need the command: touch -- -- However, do keep in mind that files like this would be really hard to work with. For example: $ ls -la total 8 drwxr-xr-x 2 mbt mbt 4096 2009-04-16 00:31 ./ drwxr-xr-x 85 mbt mbt 4096 2009-04-16 00:31 ../ $ touch -- -- $ ls -l

[Bug 362119] Re: What if exit a file/dir named "-*"

2009-04-15 Thread Minqiang
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/25516334/Dependencies.txt ** Attachment added: "ProcMaps.txt" http://launchpadlibrarian.net/25516335/ProcMaps.txt ** Attachment added: "ProcStatus.txt" http://launchpadlibrarian.net/25516337/ProcStatus.txt -- What i