~earboxer/cgi-bin

3fd01042c537554dee6f540052df3e84ed4c8790 — Zach DeCook 2 months ago c69aeda master
oeb index: fix first and last links
2 files changed, 2 insertions(+), 1 deletions(-)

M oebindex.awk
M oebindex.sh
M oebindex.awk => oebindex.awk +1 -0
@@ 13,3 13,4 @@
	section = substr($0, 3);
	startref = book"%20"chapter"%3A"verse
}
END{print "=> oeb.py?" startref"-"chapter"%3A"verse section;}

M oebindex.sh => oebindex.sh +1 -1
@@ 1,3 1,3 @@
#!/bin/sh
printf "20 text/gemini\r\n"
cat oeb/*.usfm | awk -f ./oebindex.awk | grep -v Preface
cat oeb/*.usfm | awk -f ./oebindex.awk | grep -v Preface | grep -v Publication