From d5795ea791bd49a8ef30f1c00c811f3f4975770e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 1 Apr 2025 06:09:08 -0300 Subject: src/content/: Tweak asciidoc leftovers --- src/content/tils/2020/09/05/oldschool-pr.adoc | 2 +- src/content/tils/2020/12/15/shellcheck-repo.adoc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/content/tils/2020') diff --git a/src/content/tils/2020/09/05/oldschool-pr.adoc b/src/content/tils/2020/09/05/oldschool-pr.adoc index c1c56b7..020861e 100644 --- a/src/content/tils/2020/09/05/oldschool-pr.adoc +++ b/src/content/tils/2020/09/05/oldschool-pr.adoc @@ -17,7 +17,7 @@ clone of the repository, what do you think about bringing those in?". The only difference is that you’re working with only Git itself, so you’re not tied to any Git hosting provider: you can send pull requests across them -transparently! You could even use your own {cgit}[cgit] installation. No need +transparently! You could even use your own {cgit}[cgit] installation. No need to be locked in by any of them, putting the "D" back in "DVCS": it’s a *distributed* version control system. 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: -- cgit v1.2.3