Bug 112599 - can not delete a file with "-" as a first character
Summary: can not delete a file with "-" as a first character
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 2
Hardware: HP All
: P5 - None : Minor
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 23:15 UTC by Ulrich Lange
Modified: 2005-08-24 05:30 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Lange 2005-08-23 23:15:33 UTC
by example:
create a file with command: tgz --help
a file with name --help.tgz will be created.
try to erase the file with rm *.tgz
rm: unrecognized option `--help.tgz' is the failure message
with mv, cat ... it is the same.
the command: > --help.tgz is working
Comment 1 Marcus Meissner 2005-08-24 05:30:30 UTC
please read a good unix book, this is a FAQ.  
  
To delete files starting with - , use:  
rm -- *.tgz