diff options
author | EuAndreh <eu@euandre.org> | 2025-04-16 11:20:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-16 11:20:43 -0300 |
commit | d36c2e459a74ec67e523539eb98b78b95b01432a (patch) | |
tree | a7099fbfbdab6a21f59b6efe095bffb40ceae646 /src/content/tils/2021/01/17/posix-shebang.adoc | |
parent | src/content/style.css: Show header on hover only (diff) | |
download | euandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.gz euandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.xz |
src/content/: Normalize [source,$lang] code blocks
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 |