From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: psql \i handling ~ in specified file name |
Date: | 2004-01-08 20:44:24 |
Message-ID: | 200401082044.i08KiOC02573@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-01-08 23:41:15 | Re: Patch of intarray module in v7.4.1 |
Previous Message | Magnus Hagander | 2004-01-08 20:27:24 | Win32 signal code - first try |