Brian May wrote: > > >>>>> "Warren" == Warren Turkal <[EMAIL PROTECTED]> writes: > > Warren> You can also try rm '-gzip' the ' are single quotes > Warren> --Warren > > It won't work. The shell will strip the quotes, and the command line > to rm is exactly the same. > > eg: > > snoopy:~# rm '--help' > Usage: rm [OPTION]... FILE... > Remove (unlink) the FILE(s). > > -d, --directory unlink directory, even if non-empty (super-user only) > -f, --force ignore nonexistent files, never prompt > -i, --interactive prompt before any removal > -r, -R, --recursive remove the contents of directories recursively > -v, --verbose explain what is being done > --help display this help and exit > --version output version information and exit
Quoted from the rm man page: GNU rm, like every program that uses the getopt function to parse its arguments, lets you use the -- option to indicate that all following arguments are non-options. To remove a file called `-f' in the current directory, you could type either rm -- -f or rm ./-f Saludos -- //// (@ @) ---------------------------oOO----(_)----OOo------------------------ Los pecados de los tres mundos desapareceran conmigo. Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain) --------------------------------------------------------------------