top | item 25604501

Stop Writing Shell Scripts

5 points| charmonium | 5 years ago |samgrayson.me | reply

4 comments

order
[+] jimsparkman|5 years ago|reply
Shell scripts are obviously imperfect, but I don’t necessarily agree with this absolutism view. In the right circumstances, you can quickly prototype an idea or process information in a shell script with such low friction. Truly the hacker mentality, which I don’t think a “real” language can always provide in the spur of the moment.
[+] charmonium|5 years ago|reply
I'm starting to come around to that view, especially since shell is an unusually productive REPL. What are the "right circumstances" for a shell script in your experience?