summaryrefslogtreecommitdiff
path: root/build-member.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-14 23:10:10 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-14 23:10:10 +0100
commitd3415d53383732376bff907ba552971ef4e45e88 (patch)
treeb4ef79b1d27b3efc8930257f875425c14618626e /build-member.sh
parent2bc4529f35b29533028844609244cab197a3d9b1 (diff)
downloadquatuorbellefeuille.com-d3415d53383732376bff907ba552971ef4e45e88.tar.xz
Add translation for David's bio
Diffstat (limited to 'build-member.sh')
-rwxr-xr-xbuild-member.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/build-member.sh b/build-member.sh
index 95e25b6..17d8e05 100755
--- a/build-member.sh
+++ b/build-member.sh
@@ -52,10 +52,17 @@ EOF
while read line
do
+ # Ignore empty lines.
+ if [[ ${line} =~ ^[[:space:]]*$ ]]
+ then
+ continue
+ fi
+
# Pasting from GDoc yields trailing spaces; remove those.
- if ! [[ ${line} =~ ([^:?]+[:?])\ (.+[^ ])\ * ]]
+ if ! [[ ${line} =~ ([^?]+\?)\ (.+[^ ])\ * ]]
then
>&2 echo "Invalid line: ${line}"
+ continue
fi
cat <<EOF