aboutsummaryrefslogtreecommitdiff
path: root/locale/eo/LC_MESSAGES/_tils
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-15 14:16:03 -0300
committerEuAndreh <eu@euandre.org>2020-12-15 14:16:41 -0300
commit5f8d70d4ca4e6cd13ff8a928df8b4b82b0f7595d (patch)
tree09597c2fc0a90c573471494f432c002c750d72ba /locale/eo/LC_MESSAGES/_tils
parentRemove templates/* (diff)
downloadeuandre.org-5f8d70d4ca4e6cd13ff8a928df8b4b82b0f7595d.tar.gz
euandre.org-5f8d70d4ca4e6cd13ff8a928df8b4b82b0f7595d.tar.xz
TIL on Awk: Add update section with POSIX Awk version
Diffstat (limited to '')
-rw-r--r--locale/eo/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po20
1 files changed, 20 insertions, 0 deletions
diff --git a/locale/eo/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po b/locale/eo/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po
index 8c55368..41cfc66 100644
--- a/locale/eo/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po
+++ b/locale/eo/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po
@@ -183,6 +183,26 @@ msgstr ""
msgid "ref: awk-snippet-shellcheck-all-scripts-in-a-repository"
msgstr ""
+msgid "*Update*"
+msgstr ""
+
+msgid ""
+"After publishing, I could remove `{ nextfile }` and even make the script "
+"simpler:"
+msgstr ""
+
+msgid ""
+"#!/usr/sh\n"
+"set -eu\n"
+"\n"
+"git ls-files -z | \\\n"
+" xargs -0 awk 'FNR==1 && /^#!\\// { print FILENAME }' | \\\n"
+" xargs shellcheck\n"
+msgstr ""
+
+msgid "Now both the shell and Awk usage are POSIX compatible."
+msgstr ""
+
#~ msgid ""
#~ "title: 'Awk snippet: ShellCheck all scripts in a repository'\n"
#~ "date: 2020-12-15\n"