From: Jonathan Blake Date: Thu, 15 Feb 2018 19:46:07 +0000 (+0000) Subject: corrected the pattern for series to allow for the 'misc' series X-Git-Tag: 20180215~1 X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=commitdiff_plain;h=646cf6d0ab944067c4f6386c958138a00ded71fa corrected the pattern for series to allow for the 'misc' series git-svn-id: https://projectaon.org/data/trunk@2697 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- diff --git a/common/scripts/list-bookcodes-by-series.sh b/common/scripts/list-bookcodes-by-series.sh index 9ab6c92..3af2928 100755 --- a/common/scripts/list-bookcodes-by-series.sh +++ b/common/scripts/list-bookcodes-by-series.sh @@ -14,7 +14,7 @@ book_db="$AONDIR/common/sqlite/bookcodes.db" for series in $@ do - if [[ ! $series =~ ^[a-z][a-z]$ ]]; then + if [[ ! $series =~ ^[a-z]+$ ]]; then >&2 echo "invalid series" exit 1 fi