Project Aon Git Repositories
/
project-aon.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Read from both STDIN and named files
[project-aon.git]
/
common
/
scripts
/
list-bookcodes-all.sh
1
#!/usr/bin/env bash
2
#
3
# List all bookcodes.
4
5
if [ ! -d "$AONDIR" ]; then
6
>&2 echo "Please set the AONDIR environment variable"
7
exit 1
8
fi
9
10
book_db="$AONDIR/common/sqlite/bookcodes.db"
11
12
sqlite3 -noheader "$book_db" "select book from bookcodes order by book"