Re: file command bug on windows
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Sun, 05 Apr 2009 17:33:35 -0500
Óscar Fuentes wrote:
Don Porter <dgporter@xxxxxxxxxxx> writes:
The time for this argument was ~1996 when Tcl was first portedI have news for you: Windows is not Unix. ...Well, it may be documented, it may be useful, but it is broken. AYou should realize that tilde is also 'just another symbol' on UNIX as
leading tilde is just another symbol on Windows, and it is not different
from an 'A'. If tcl treats it on a specific way, Tcl is broken.
well. It is just that *tradionally* it is a shorthand (in sh, csh,
bash, etc.) for a users home directory as well, and this shorthand
usage is also used in tclsh/wish, as well as other. The 'trick' of
preceding a leading tilde with a directory spec (eg "./") to suppress
the home directory substitution works for UNIX as well. Under UNIX
"./~foo" is a ligit filename and is a filename that starts with the
literal character '~'. A bit awkward do deal with from a command
shell, but not any worse than a filename starting with a dash.
to Windows.
Think of it as if fixing a long-standing bug. At least for Windows.
Sorry, no -- think of it as introducing a *MAJOR* backwards incompatibility.
This is used hundreds, maybe thousands, of times more than octal notation ever was -- even on Windows.
--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: file command bug on windows
- From: Óscar Fuentes
- Re: file command bug on windows
- References:
- Re: file command bug on windows
- From: solar
- Re: file command bug on windows
- From: Gerald W. Lester
- Re: file command bug on windows
- From: solar
- Re: file command bug on windows
- From: Mark Janssen
- Re: file command bug on windows
- From: Óscar Fuentes
- Re: file command bug on windows
- From: Robert Heller
- Re: file command bug on windows
- From: Óscar Fuentes
- Re: file command bug on windows
- From: Don Porter
- Re: file command bug on windows
- From: Óscar Fuentes
- Re: file command bug on windows
- Prev by Date: Re: file command bug on windows
- Next by Date: Re: Mulitple pages from canvas postscript
- Previous by thread: Re: file command bug on windows
- Next by thread: Re: file command bug on windows
- Index(es):
Relevant Pages
|