Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2005 14:52:27 +0400
From:      =?KOI8-R?Q?=EB=C1=D2=C1=CD=D9=DB=C5=D7_=F3=D4=C5=D0=C1=CE?= <karamyshev@corp.mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: removing file '-D'
Message-ID:  <20050906145227.0af67b1c.karamyshev@corp.mail.ru>
In-Reply-To: <431D72E5.8060800@locolomo.org>
References:  <431D72E5.8060800@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


---
С уважением,
	Карамышев Степан.

=====================
По - распространенный предлог. ("Девушка, а пойдемте ко мне, попьем чаю,
почитаем Эдгара П....")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050906145227.0af67b1c.karamyshev>