diff options
Diffstat (limited to 'src/content/tils/2021/01/17/posix-shebang.adoc')
-rw-r--r-- | src/content/tils/2021/01/17/posix-shebang.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/tils/2021/01/17/posix-shebang.adoc b/src/content/tils/2021/01/17/posix-shebang.adoc index 4e2fbe8..5cf0695 100644 --- a/src/content/tils/2021/01/17/posix-shebang.adoc +++ b/src/content/tils/2021/01/17/posix-shebang.adoc @@ -14,7 +14,7 @@ I didn't know what to do with that first line. What I had previously was: -[source,shell] +[source,sh] ---- #!/usr/bin/env bash set -Eeuo pipefail @@ -27,7 +27,7 @@ options were also gone, and would be replaced by nothing. I converted all of them to: -[source,shell] +[source,sh] ---- #!/bin/sh -eu ---- @@ -45,7 +45,7 @@ options is ignored, as it is a comment! Which means that the shebang most friendly with POSIX is: -[source,shell] +[source,sh] ---- #!/bin/sh set -eu |