[Tutor] Re: regexes, thanks

lumbricus@gmx.net lumbricus@gmx.net
Wed Nov 20 23:59:02 2002


Hi!

> | Dashes in file names are pure evil - avoid them.
> 
> Why do you say that?  I see how a dash (or two) at the beginning of a
> filename can cause trouble, but not how dashes in the middle have any
> effect.

If it followes a space :-)
Well yes you _can_ use them, but I rather don't.

> (for those who need a workaround for a file starting with dashes,
> programmatically the os.rename() function can be used to rename the
> file; alternatively many commands use the argument "--" to indicate
> that the rest of the arguments are not options but are literal data
> (eg a filename for 'rm' or 'mv'))

or give it the path.
$ touch ./test

> HTH,
> -D

Dito, J"o!


-- 
Wir beschliessen etwas, stellen das dann in
den Raum und warten dann einige Zeit ab, was
passiert. Wenn es dann kein grosses Geschrei
gibt und keine Aufstaende, weil die meisten
gar nicht begreifen, was da beschlossen
wurde, dann machen wir weiter - Schritt fuer
Schritt, bis es kein Zurueck mehr gibt. 
   -- J-C Juncker

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!