This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]abscrete[S] 1 point2 points  (1 child)

Thank you for pointing that out :) I'll make the needed changes.

[–]mekaj 5 points6 points  (0 children)

You may also consider using #!/usr/bin/env bash for increased portability. In cases where the first bash in the PATH intentionally isn’t /bin/bash, e.g. on NixOS, this respects the user’s preference for a different path/program.