On Thu, June 15, 2006 11:13 am, Kevin Lowe said: > Hi, > > I accidentally issued the following command where I mis-spelled remove: > > $ ./clamscan --remov /usr/home/projects/virus/ > > And it actually removed the file. I would expect either an error or the > flag to be ignored. Is this a (minor) bug I shoud report? > > ClamAV 0.88.2 running on FreeBSD
Many Unix tools will allow you to abbreviate the flags to the shortest non-ambiguous string. I'd consider that normal behavior. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- _______________________________________________ http://lurker.clamav.net/list/clamav-users.html