#22 Some scripts are aliased to run in ksh instead of sh

Closed
opened 3 weeks ago by jimmy · 1 comments
jimmy commented 3 weeks ago

I noticed some scripts are including a #!/bin/ksh shebang, is there any reason to use these limiters? It means that the scripts do not natively run on Mac OS X, or OSes that only have bash, sh, or other shells like zsh in archlinux, because the shebang will direct the script to a nonexistent script. Is there any functions there that require ksh? Or is it just a force of habit to shebang #!/bin/ksh?

I noticed some scripts are including a #!/bin/ksh shebang, is there any reason to use these limiters? It means that the scripts do not natively run on Mac OS X, or OSes that only have bash, sh, or other shells like zsh in archlinux, because the shebang will direct the script to a nonexistent script. Is there any functions there that require ksh? Or is it just a force of habit to shebang #!/bin/ksh?
Jaidyn Levesque commented 5 days ago
Owner

Force of habit— I noticed it a while back, though, but didn't bother to change it.

We're all using these scripts on O/LBSD anyway, right, and not OSX? ;)

Force of habit— I noticed it a while back, though, but didn't bother to change it. We're all using these scripts on O/LBSD anyway, right, and not OSX? ;)
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.