Re: [lug-nuts] FW: cool way to rm files

From: Mike Simons (msimons@fsimons01.erols.com)
Date: Fri Jan 14 2000 - 13:57:32 PST


On Fri, Jan 14, 2000 at 09:48:49AM -0800, James Nessen wrote:
> Another quick way to delete files is to supress the file name in quotes ""
> ie. (rm -f "-sT")

  No, this does not work. "" are removed by the shell, both "-sT" and -ST
pass -sT to the rm command ... which will complain that 's' is an unknown
option.
  "" are only good at protecting file names that have whitespace or wildcard
characters (* and ?) in them.
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:10 PST