diff options
author | EuAndreh <eu@euandre.org> | 2020-12-15 14:16:03 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-15 14:16:41 -0300 |
commit | 5f8d70d4ca4e6cd13ff8a928df8b4b82b0f7595d (patch) | |
tree | 09597c2fc0a90c573471494f432c002c750d72ba /locale | |
parent | Remove templates/* (diff) | |
download | euandre.org-5f8d70d4ca4e6cd13ff8a928df8b4b82b0f7595d.tar.gz euandre.org-5f8d70d4ca4e6cd13ff8a928df8b4b82b0f7595d.tar.xz |
TIL on Awk: Add update section with POSIX Awk version
Diffstat (limited to '')
3 files changed, 60 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" diff --git a/locale/fr/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po b/locale/fr/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po index 8c55368..41cfc66 100644 --- a/locale/fr/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po +++ b/locale/fr/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" diff --git a/locale/pt/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po b/locale/pt/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po index 8c55368..41cfc66 100644 --- a/locale/pt/LC_MESSAGES/_tils/2020-12-15-awk-snippet-shellcheck-all-scripts-in-a-repository.po +++ b/locale/pt/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" |