removing file '-D'
Карамышев Степан
karamyshev at corp.mail.ru
Tue Sep 6 03:55:27 PDT 2005
bash-2.05b$ pwd
/tmp
bash-2.05b$ echo > -D
bash-2.05b$ ls /tmp/-D
/tmp/-D
bash-2.05b$ rm /tmp/\-\D
bash-2.05b$ ls /tmp/-D
ls: /tmp/-D: No such file or directory
On Tue, 06 Sep 2005 12:43:49 +0200
Erik Norgaard <norgaard at locolomo.org> wrote:
> Hi,
>
> using dvrecv (dvts) with the documented -D option did not indicate the
> desired device but rather created a file with the name -D. Now I can't
> get rid of it, using csh, bash or sh:
>
> Specifying:
>
> $ rm -D
> rm: illegal option -- D
> $ rm "-D"
> rm: illegal option -- D
> $ rm '-D'
> rm: illegal option -- D
> $ rm \-D
> rm: illegal option -- D
> $ rm '\-D'
> rm: \-D: No such file or directory
> $ rm "\-D"
> rm: \-D: No such file or directory
>
> any hints?
>
> Thanks, Erik
> --
> Ph: +34.666334818 web: www.locolomo.org
> S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
> Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
> Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
---
С уважением,
Карамышев Степан.
=====================
По - распространенный предлог. ("Девушка, а пойдемте ко мне, попьем чаю,
почитаем Эдгара П....")
More information about the freebsd-questions
mailing list