diff options
author | EuAndreh <eu@euandre.org> | 2025-04-01 06:09:08 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-02 08:05:48 -0300 |
commit | d5795ea791bd49a8ef30f1c00c811f3f4975770e (patch) | |
tree | ee8781f5231c0d66802322e5857e1690f7b2dacb /src/content/tils/2020/12/15/shellcheck-repo.adoc | |
parent | src/content/style.css: Add adjustment for asciidoc (diff) | |
download | euandre.org-d5795ea791bd49a8ef30f1c00c811f3f4975770e.tar.gz euandre.org-d5795ea791bd49a8ef30f1c00c811f3f4975770e.tar.xz |
src/content/: Tweak asciidoc leftovers
Diffstat (limited to 'src/content/tils/2020/12/15/shellcheck-repo.adoc')
-rw-r--r-- | src/content/tils/2020/12/15/shellcheck-repo.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/tils/2020/12/15/shellcheck-repo.adoc b/src/content/tils/2020/12/15/shellcheck-repo.adoc index 960812e..e86cbff 100644 --- a/src/content/tils/2020/12/15/shellcheck-repo.adoc +++ b/src/content/tils/2020/12/15/shellcheck-repo.adoc @@ -23,7 +23,8 @@ run ShellCheck on. This first version worked fine, as all my scripts had the `.sh' ending. But I recently added some scripts without any extension, so `assert-shellcheck.sh` -called for a second version. The first attempt was to try grepping the shebang line: +called for a second version. The first attempt was to try grepping the shebang +line: [source,shell] ---- @@ -123,7 +124,7 @@ scripts/songbooks.in scripts/with-container.sh ---- -Great! Only `TODOs.org` is missing, but the script is much better: instead of +Great! Only `TODOs.org` is missing, but the script is much better: instead of matching against any part of the file that may have a shebang-like line, we only look for the first. Let's put it back into the `assert-shellcheck.sh` file and use `NULL` for separators to accommodate files with spaces in the name: |