RFC: alias and unalias command

Alexander Belchenko bialix at ukr.net
Tue Feb 5 09:03:18 GMT 2008


Ian Clatworthy пишет:
> Martin Pool wrote:
>>> | I'd agree.  I believe (not sure) that = is hard to put on the command
>>> | line in Windows?
>>> |
>>> Why you think so?
>> I don't have any specific evidence, just a vague recollection that =
>> is sometimes changed to a space by the Windows shell.  (Which sounds
>> bizarre, but there's a lot of strangeness in that area.)  If I am
>> incorrect and it's not a problem, that's great.
>>
> 
> It was certainly once a problem in early versions of DOS. The Perl
> command line parsing library I used extensively back then explicitly
> supported x:y to mean x=y for 'dictionary' options for precisely that
> reason.
> 
> It may well be fixed by now.

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']



More information about the bazaar mailing list