From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 10:50:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA48A16A41F for ; Tue, 6 Sep 2005 10:50:46 +0000 (GMT) (envelope-from albi@scii.nl) Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A8B943D45 for ; Tue, 6 Sep 2005 10:50:46 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9980 helo=mail.aseed.antenna.nl) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1ECb2L-0009FW-9W for freebsd-questions@freebsd.org; Tue, 06 Sep 2005 10:50:45 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id 29BFD154168 for ; Tue, 6 Sep 2005 12:50:53 +0200 (CEST) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id EA6E3592C5D for ; Tue, 6 Sep 2005 12:50:05 +0200 (CEST) Date: Tue, 6 Sep 2005 12:50:42 +0200 From: "albi@scii.nl" To: freebsd-questions@freebsd.org Message-Id: <20050906125042.7a24bfeb.albi@scii.nl> In-Reply-To: <431D72E5.8060800@locolomo.org> References: <431D72E5.8060800@locolomo.org> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.4; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: removing file '-D' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 10:50:47 -0000 On Tue, 06 Sep 2005 12:43:49 +0200 Erik Norgaard wrote: > 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 are you sure it's not " -D" (with space) ? i just created a file called -D and this removes it : rm -- "-D" (and you can also try midnight commander in those cases :) -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import