You're pretty much out of luck. Since most programs have their command line parameters specified with a "-" or "--", you're going to have to settle for having the "-" in the middle of the name, somewhere.
On Thu, 4 Apr 2002, daniel wrote: > hello again list > got a simple question here: > > i know how to do this: > > cp /dev/null file.txt > > but what if i want the file name to start with a "-"? > > cp /dev/null "-file.txt" # doesn't work > cp /dev/null \-file.txt # doesn't work either > > any suggestions? > > > _________________________________ > daniel a. g. quinn > starving programmer > > every gun that is made, every warship launched, every rocket fired signifies > in the final sense, a theft from those who hunger and are not fed, those who > are cold and are not clothed. this world in arms is not spending money > alone. it is spending the sweat of its labourers, the genius of its > scientists, the hopes of its children. this is not a way of life at all in > any true sense. under the clouds of war, it is humanity hanging on a cross > of iron. > - dwight Eisenhower, april 16, 1953 > > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list