Re:Ask HN: Why do you still use Emacs/Vim?
by billconan on Tuesday November 20, 2018 @01:01PM
(#18495962)
at work, lots of scripts are in bash script. I tried using fish shell, but it doesn't support bash script well.
[ Parent
| on HN ]
Re:Ask HN: Why do you still use Emacs/Vim?
by zapzupnz on Tuesday November 20, 2018 @01:36PM
(#18496371)
But so long as the bash scripts have the shebang, and all should, things should work properly in theory with fish able to load bash when needed, surely?
Or is that another in a long line of "yes, in theory, but…"s?
Re:Ask HN: Why do you still use Emacs/Vim?
by snazz on Tuesday November 20, 2018 @09:06PM
(#18499671)
Or you can insulate yourself from bad scripts without the #! by just calling bash then running your script. In my case, since I run so few bash scripts, I use fish (and ksh on BSDs) and call sh when needed.