From 25a2e71361572146512620942a7e155b2c7c1c7e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Dec 2020 13:38:01 -0300 Subject: Update locales --- ...ippet-shellcheck-all-scripts-in-a-repository.po | 69 +++++++++++++++------- 1 file changed, 47 insertions(+), 22 deletions(-) (limited to 'locale/fr/LC_MESSAGES/_tils') 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 23da833..e671224 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 @@ -14,13 +14,6 @@ msgid "" "version of `assert-shellcheck.sh`:" msgstr "" -msgid "" -"#!/bin/sh\n" -"set -eu\n" -"\n" -"find . -type f -name '*.sh' -print0 | xargs -0 shellcheck\n" -msgstr "" - msgid "" "This is the type of script that I copy around to all repositories, and I " "want it to be capable of working on any repository, without requiring a list" @@ -147,15 +140,6 @@ msgid "" "spaces in the name:" msgstr "" -msgid "" -"#!/usr/sh\n" -"set -eu\n" -"\n" -"git ls-files -z | \\\n" -" xargs -0 awk 'FNR>1 { nextfile } /^#!\\// { print FILENAME; nextfile }' | \\\n" -" xargs shellcheck\n" -msgstr "" - msgid "" "This is where I've stopped, but I imagine a likely improvement: match " "against only `#!/bin/sh` and `#!/usr/bin/env bash` shebangs (the ones I use " @@ -191,20 +175,61 @@ msgid "" "simpler:" msgstr "" +msgid "Now both the shell and Awk usage are POSIX compatible." +msgstr "" + +msgid "eu_categories: shell" +msgstr "" + +msgid "updated_at: 2020-12-16" +msgstr "" + msgid "" -"#!/usr/sh\n" -"set -eu\n" +"#!/bin/sh -eux\n" +"\n" +"find . -type f -name '*.sh' -print0 | xargs -0 shellcheck\n" +msgstr "" + +msgid "" +"#!/usr/sh -eux\n" "\n" "git ls-files -z | \\\n" -" xargs -0 awk 'FNR==1 && /^#!\\// { print FILENAME }' | \\\n" +" xargs -0 awk 'FNR>1 { nextfile } /^#!\\// { print FILENAME; nextfile }' | \\\n" " xargs shellcheck\n" msgstr "" -msgid "Now both the shell and Awk usage are POSIX compatible." +msgid "" +"#!/usr/sh -eux\n" +"\n" +"git ls-files -z | \\\n" +" xargs -0 awk 'FNR==1 && /^#!\\// { print FILENAME }' | \\\n" +" xargs shellcheck\n" msgstr "" -msgid "eu_categories: shell" -msgstr "" +#~ msgid "" +#~ "#!/bin/sh\n" +#~ "set -eu\n" +#~ "\n" +#~ "find . -type f -name '*.sh' -print0 | xargs -0 shellcheck\n" +#~ msgstr "" + +#~ msgid "" +#~ "#!/usr/sh\n" +#~ "set -eu\n" +#~ "\n" +#~ "git ls-files -z | \\\n" +#~ " xargs -0 awk 'FNR>1 { nextfile } /^#!\\// { print FILENAME; nextfile }' | \\\n" +#~ " xargs shellcheck\n" +#~ 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 "" #~ "title: 'Awk snippet: ShellCheck all scripts in a repository'\n" -- cgit v1.2.3