X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fscripts%2Flist-bookcodes-all.sh;h=7d4cfbd8e6dc92e3ad6c08c0c64997096a355e7d;hp=043835b8f815403e3ec4297dcd8e531b6e0c16f9;hb=HEAD;hpb=c6338dc3c2d3299fdf71c128a7b707d7a69762dd;ds=sidebyside diff --git a/common/scripts/list-bookcodes-all.sh b/common/scripts/list-bookcodes-all.sh index 043835b..7d4cfbd 100755 --- a/common/scripts/list-bookcodes-all.sh +++ b/common/scripts/list-bookcodes-all.sh @@ -4,9 +4,9 @@ if [ ! -d "$AONDIR" ]; then >&2 echo "Please set the AONDIR environment variable" - exit + exit 1 fi book_db="$AONDIR/common/sqlite/bookcodes.db" -sqlite3 -column -noheader "$book_db" "select book from bookcodes order by book" +sqlite3 -noheader "$book_db" "select book from bookcodes order by book"