Ugly File Name (Correction)

Guy Harris guy at auspex.auspex.com
Sat May 20 15:21:47 AEST 1989


>   rm - -whatever
>
>is rumored to work some places, but I've never used a system where it
>did (or at least was documented to).

Must've never used BSD (other than perhaps ancient versions) then; I
think it's been documented since 4.1BSD.  It's definitely documented in
4.3-tahoe:

   SYNOPSIS
	rm [ -f ] [ -r ] [ -i ] [ - ] file ...

	...

   DESCRIPTION

	...

	The null option `-' indicates that all the arguments following it
	are to be treated as file names.  This allows the specification
	of file names starting with a minus.



More information about the Comp.unix.questions mailing list