X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fscripts%2Flist-bookcodes-by-series.sh;h=3af29281f890625d209e67cd014ea1c22365184c;hp=9ab6c92d42ea6a58947cf7ff14f090c2c75774ef;hb=646cf6d0ab944067c4f6386c958138a00ded71fa;hpb=7d3e9ca54e0cb51922b34659b920e61ee3a6e8d2 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