diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-14 23:10:10 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-14 23:10:10 +0100 |
| commit | d3415d53383732376bff907ba552971ef4e45e88 (patch) | |
| tree | b4ef79b1d27b3efc8930257f875425c14618626e /build-member.sh | |
| parent | 2bc4529f35b29533028844609244cab197a3d9b1 (diff) | |
| download | quatuorbellefeuille.com-d3415d53383732376bff907ba552971ef4e45e88.tar.xz | |
Add translation for David's bio
Diffstat (limited to 'build-member.sh')
| -rwxr-xr-x | build-member.sh | 9 |
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 |
