On Wed, 28 Jul 1999 11:01:21 +0200 (MET DST), Jean-Marc Lasgouttes
wrote:
>>> BTW I like your suggestion of using isalnum().
>
>Arnd> Well, it's only a macro shorthand.
>
>Arnd> Please note, until filetools.C are cleaned, I have to let '.'
>Arnd> (dots) pass through this filter. I could not find a safe and
>Arnd> efficient method for stripping and later re-adding path prefix
>Arnd> and extension suffix, thus avoiding the problem with single
>Arnd> (sole) trailing dots.
>
>Why do you need to handle `.'?
Else foobarxlyx instead of foobar.lyx will result. This is because I
could not find (became confused with extension handling there) the
right way to strip extensions including dots. But this (i.e. extension
handling in filetools.C) has to be cleaned up anyway.
Regards,
Arnd