x/tools/gorename: not properly working on windows using cmd or powershell. #20422
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
changed the title
tools/gorename not properly working on windows using cmd or powershell.
May 19, 2017
@ianlancetaylor what do you mean "how to use the Windows shell."?
I don't know who to blame the
Before gorename even gets to see the string you pass to it on the command line, the cmd.exe converts your string into different string using these https://msdn.microsoft.com/en-us/library/17w5ykft.aspx rules. That is just how cmd.exe (the command prompt) works.
It is your job to understand these rules and use them accordingly to make sure gorename will get result you want.
bash has similar problem, but everyone knows bash rules and adjust things as required.
Hindsight is a wonderful thing.
If you think https://msdn.microsoft.com/en-us/library/17w5ykft.aspx is complicated, you should check (I do not expect you to) http://daviddeley.com/autohotkey/parameters/parameters.htm#WIN for the complete story.