3 ms·
I've been using fish for years but I never write scripts in it. What's the point? There's sh which is the most portable. Why write scripts in anything else but
by aerique 9y ago
I've been using fish for years but I never write scripts in it. What's the point?
There's sh which is the most portable. Why write scripts in anything else but an actual programming language when things get more complex?
- msla 9y agoThe point is the compose-save-edit cycle: Compose the script in the shell, save it to a file, and then, maybe, edit it to add better argument handling or support for corner cases you didn't consider in the interactive environment.