3 ms·
Maybe it’s non idiomatic JavaScript or something. The idea of it sounded good to me - I often used to want to find files and modify them in place and used find
by tokamak-teapot 4y ago
Maybe it’s non idiomatic JavaScript or something.
The idea of it sounded good to me - I often used to want to find files and modify them in place and used find, grep and perl (options were -pi -e? Can’t remember!) … I should have made a script to make this easier but was always on different servers so just tried to remember how.
Perhaps tools make it easier these days and this code is somehow not needed if you learn the tools - and could have been a shell alias or something.
Still, the point is you shouldn’t mock other people’s work. Would you like your child’s work to be mocked by strangers? Would you like your parent’s work to be mocked by strangers? Don’t mock people’s work. It’s easy to feel the urge to do this on the Internet where it feels like the human behind something isn’t a real person, but they really are.