aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-spelling.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-27 12:01:18 -0300
committerEuAndreh <eu@euandre.org>2021-07-27 12:01:21 -0300
commitf428574ec4bf3d65954ed1b0c34ed86730f67647 (patch)
tree09b05e02770b9bbc0c943a67e13c706d67826e9d /aux/workflow/assert-spelling.sh
parentaux/: Stick to 80 columns (diff)
downloadgit-permalink-f428574ec4bf3d65954ed1b0c34ed86730f67647.tar.gz
git-permalink-f428574ec4bf3d65954ed1b0c34ed86730f67647.tar.xz
Remove extra \\ after | in line breaks
Implements #task-1f103822-c865-254c-f6b6-4968f2fb473e.
Diffstat (limited to 'aux/workflow/assert-spelling.sh')
-rwxr-xr-xaux/workflow/assert-spelling.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/aux/workflow/assert-spelling.sh b/aux/workflow/assert-spelling.sh
index 9418dc2..853fd5e 100755
--- a/aux/workflow/assert-spelling.sh
+++ b/aux/workflow/assert-spelling.sh
@@ -52,8 +52,8 @@ mkdir -p po/spelling
eval "touch po/spelling/{international,$(echo "$LANGS" | tr ' ' ,)}.txt"
get_lang() {
- grep lang=.. "$1" | \
- head -n1 | \
+ grep lang=.. "$1" |
+ head -n1 |
awk '
match($0, /lang="(..)"/) {
print substr($0, RSTART+length("lang=\""), 2)