RFC: alias and unalias command

James Henstridge james at jamesh.id.au
Tue Feb 5 09:55:25 GMT 2008


On 05/02/2008, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Alexander Belchenko <bialix at ukr.net> writes:
>
> > IMO, it's not the problem nowadays:
> >
> > C:\>python -c "import sys; print sys.argv" a=b c=d --e=f
> > ['-c', 'a=b', 'c=d', '--e=f']
>
> It seems it still is on Windows 2003 :-(. At least, "mkdir foo=bar;
> dir foo=bar" creates and then lists two directories "foo" and "bar".

All you have shown is that two commands treat equals signs as spaces.
Alexander's test is more useful because it shows that the character is
preserved by the command line argument parser.

If you get different results for the Python invocation on Windows
2003, then that would be interesting.

James.



More information about the bazaar mailing list