3 ms·
Unless you're really a JS-only developer, it's hard for me to see why this is better than using Perl (or just sed/awk/grep themselves) for text-munging.
by ForHackernews 11y ago
Unless you're really a JS-only developer, it's hard for me to see why this is better than using Perl (or just sed/awk/grep themselves) for text-munging.
- Killswitch 11y agoI don't know perl or sed/awk/grep that well, but I know JavaScript pretty damn well.. So what do I do? Look up man pages or Google Stack Overflow answers for 15 minutes to do what I need? Or I can just use nip and write a quick snippet that does what I know and move onto what's most important, the task I was trying to accomplish. In the end, nobody cares how I renamed all the images from lolimag_{i}.jpg to 2015_05_20_img_{i}.jpg, they just care that I did it.