Make the new skin the default; normalize rules
[project-aon.git] / common / scripts / list-bookcodes-by-series.sh
index 9ab6c92..8005e41 100755 (executable)
@@ -14,12 +14,12 @@ 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
 
-    sqlite3 -column -noheader "$book_db" <<EOF
+    sqlite3 -noheader "$book_db" <<EOF
       select book 
       from bookcodes 
       where series = '$series'