clear &&echo -e "You are searching ${CANTICLE^}${CANTO_NUM}.\nAdd a trailing slash ${GREEN}\`/\`${NC} to your search before submitting it. The default first two search choices are ${GREEN}\`canto\`${NC} and then ${GREEN}\`terzine\`${NC}. Press ${GREEN}<enter>${NC} for those defaults and type something else to search that.\n"
clear &&echo -e "You are searching ${CANTICLE^}${CANTO_NUM}.\nAdd a trailing slash ${GREEN}\`/\`${NC} to your search before submitting it. The default first two search choices are ${GREEN}\`canto\`${NC} and then ${GREEN}\`terzine\`${NC}. Press ${GREEN}<enter>${NC} for those defaults and type something else to search that.\n"
i='0'
read -p "Load previous: (Y)/n " PREV
read -p "Load previous: (Y)/n " PREV
case"$PREV" in
case"$PREV" in
N|n)
N|n)
@ -39,19 +42,22 @@ if [[ -e "$file" ]]; then
search="$(cat .prev-xpath.tmp)"
search="$(cat .prev-xpath.tmp)"
;;
;;
esac
esac
i='0'
# Start while loop for the query. Break the loop if the query ends with a slash `/`.