| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
Right.. So you need to convince rm that it's a file, not an argument.
One way of doing this is:
rm ./-f2
-derek
"Jerry Feldman" <gaf at blu.org> writes:
> No. Bash does not parse the -f20, rm does. Bash does expand wild
> cards, such as * and ?.
> On 26 Oct 2000, at 13:55, Roger Day wrote:
>
> > Try
> > rm '-f2'
> >
> > bash is interpreting the "-" as a parameter to rm thus 2 is invalid.
>
> Jerry Feldman <gaf at blu.org>
> Associate Director
> Boston Linux and Unix user group
> http://www.blu.org
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL N1NWH
warlord at MIT.EDU PGP key available
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).