Andrew Dunstan wrote:
> >>>As I remember, MSDOS uses the "~" to specify short versions of long file
> >>>names.
> >>>
> >>>
> >>>
> >>I is not just msdos, it is cmd.exe which exists on (to my knowledge) all
> >>versions of windows. For example:
> >>Program Files == progra~1
> >>
> >>
> >
> >Yes, I meant it is a hold-over from dealing with MS-DOS style 8.3 file
> >names.
> >
> >
>
> This pattern should not cause tilde expansion on any platform, I
> believe. Only a *leading* ~/ or ~username/ should be expanded.
>
> The normal "home" directory on a (modern) Windows machine is usually
> "C:\Documents and Settings\username", IIRC.
Yes, I understand, but on an OS that uses tilde so much inside the file
name, do we want special meaning when it is leading the file name?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073