5 ms·
Do you worry that people will use this in their actual programs, rather than just in development scripts? You've at least quoted variables, which is several ste
by IshKebab 3y ago
Do you worry that people will use this in their actual programs, rather than just in development scripts? You've at least quoted variables, which is several steps better than most Bash scripts, but even so Bash tends to be hacky and fragile. The original JavaScript code using native APIs is more verbose but better code.