Question (potential issue) about tzselect.ksh
I noticed tzselect.ksh, despite its filename, uses #!/bin/bash as its shebang. Should the filename be renamed or shebang be switched to ksh? That said, both ksh93 -n and shellcheck don't complain. (other than for `` being used instead of $(), which is a warning rather than an error) This isn't urgent at all, though.
On 11/20/19 10:33 PM, Andras Farkas wrote:
Should the filename be renamed or shebang be switched to ksh?
Before 2012 the shebang did say /bin/ksh. On modern systems, though, /bin/bash is more widely available. Neither the filename extension nor the shebang line matter in terms of what's actually installed. Not sure it's worth changing the filename extension (as that will complicate code spelunking).
On Fri, Nov 22, 2019 at 9:19 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
Before 2012 the shebang did say /bin/ksh. On modern systems, though, /bin/bash is more widely available. The BSDs are modern systems! And they're more likely to come with ksh than bash. But I understand. Neither the filename extension nor the shebang line matter in terms of what's actually installed. Not sure it's worth changing the filename extension (as that will complicate code spelunking). That's true. Alright. :)
participants (2)
-
Andras Farkas -
Paul Eggert