[CentOS] Removing a file that starts with dashes

John R. Dennison jrd at gerdesas.com
Thu Apr 3 00:59:28 UTC 2014


On Wed, Apr 02, 2014 at 04:46:51PM -0700, benfell at parts-unknown.org wrote:
> 
> This issue is all about shell interpretation--before the command
> string even gets to the command.

Actually, yes and no.  Some commands, notably those using the GNU
getopt() family, understand the concept of "--" ending _all_ argument
parsing and anything after being a parameter and not a command argument.

Apparently zsh handles this differently from what was stated here
earlier.  If this is indeed the case this is arguably a zsh bug.

> Should I always strip the cc when posting to this list?

Nah, just lease Reindl off :)




						John
-- 
Failure is the condiment that gives success its flavor.

-- Truman Capote (1924-1984), American writer, Portraits and Observations,
   The Essays of Truman Capote, "Self Portrait" (1972)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20140402/7bd18d4f/attachment.sig>


More information about the CentOS mailing list