4 ms·
As soon as my shellscripts need control structures, I jump to a "real" language like Perl or Python.
by scott_s 17y ago
As soon as my shellscripts need control structures, I jump to a "real" language like Perl or Python.
- ash 17y agoHaven't used it much, but I find Fish shell control structures much more consistent that those in *sh: http://fishshell.org/ http://fishshell.org/
- wheels 17y agoIndeed -- that's where Perl still fits into my day-to-day toolbox. It's exactly in those 5-50-liners with a little logic that I want a language with an overabundance of syntactic shortcuts. Shell is the exact opposite of that.