-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In order to be more compatible with several operating systems (not all UNIX-like systems have a bash installed), it might be a good idea to get rid of the bashisms and set the shebang to /bin/sh instead. As far as I can see, there is no functionality that would need to be removed:
echo -edoes not seem to be necessary where it occurs -> remove the-eread -pwould need to be rewritten asprintf "some text" ; read -r$(...)- inconsequently used in this script anyway - should be replaced with backticks- the
[[ var == text ]]syntax only needs minor changes
The benefit from this would be that nobody would need to use a bash with all of its dependencies -> even lower entry point.
sokaisokai
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request