# outputs data for all books.
#
# Examples:
-# list-book-info.sh lw gs
+# list-book-info.sh 01fftd 02tfc
#
# list-book-info.sh
if [ -z "$1" ]; then
sqlite3 -column -noheader "$book_db" <<EOF
- select book, lang, series
+ select
+ book
+ , lang
+ , series
+ , subseries
+ , xml_file
from bookcodes
order by book
EOF
fi
sqlite3 -column -noheader "$book_db" <<EOF
- select book, lang, series
+ select
+ book
+ , lang
+ , series
+ , subseries
+ , xml_file
from bookcodes
where book = '$book'
order by book