you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 8 months ago* (last edited 8 months ago) (3 children)

Do you need POSIX compability?

  • If not, use bash-isms without shame

But call it a bash script then! Remember: #!/bin/sh is run by all kinds of shells; consider them POSIX. Bash is #!/bin/bash.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 8 months ago (2 children)

    Uhm, yes. I noted exactly that as well.

    Also bash is not always at /bin/bash :-)

  • source
  • parent
  • hideshow 2 child comments