3 ms·
Was it too difficult to ask his friend to do right click -> create text document-> open it and write 'ren STAR.cha STAR.txt' -> save it as rename.bat and double
by tigershark 10y ago
Was it too difficult to ask his friend to do right click -> create text document-> open it and write 'ren STAR.cha STAR.txt' -> save it as rename.bat and double click on it?
Seriously, I'm not sure if this whole thing is a joke...
edit: not sure why I cannot write the jolly character here
- nurettin 10y agohttps://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc
- blub 10y agoThis looks like an article on scripting, but it's in fact a subtle allegory about reinventing the wheel and overengineering. It's so subtle that even the author might have missed it.
- kbd 10y agoIt looks like the rust script would rename files in the current directory and all subdirectories, whereas a batch rename would only work in the current directory.
- chriskrycho 10y agoIt was an excuse to figure out the cross-compilation story with a tiny tool; he got his tool, I got my experience with a part of the Rust ecosystem I hadn't interacted with before. It was a win all around. (Note as well that I said explicitly that I asked if this was a "just give me a tool" or a "teach me something about scripting" kind of day!) :)