@@ -92,21 +92,21 @@ function run-query {
# add-book, /home/swflint/org/library.org
function add-single {
- if [[ $# -lt 7]] ; then
- echo -n "Title: "
- read TITLE
- echo -n "Author: "
- read AUTHOR
- echo -n "LCCN: "
- read LCCN
- echo -n "Copyright: "
- read COPYRIGHT
- echo -n "Publisher: "
- read PUBLISHER
- echo -n "ISBN: "
- read ISBN
- echo -n "Location: "
- read LOCATION
+ if [[ $# -lt 7 ]] ; then
+ echo -n "Title: "
+ read TITLE
+ echo -n "Author: "
+ read AUTHOR
+ echo -n "LCCN: "
+ read LCCN
+ echo -n "Copyright: "
+ read COPYRIGHT
+ echo -n "Publisher: "
+ read PUBLISHER
+ echo -n "ISBN: "
+ read ISBN
+ echo -n "Location: "
+ read LOCATION
else
TITLE=$1
shift