scripts for my gemini capsule
oeb: start
Zach DeCook 2021-02-25
parent 63c0ad2 · commit 51c72d5
-rwxr-xr-xoeb.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/oeb.sh b/oeb.sh
new file mode 100755
index 0000000..15c298a
--- /dev/null
+++ b/oeb.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# parse query
+book=John
+chstart=3
+chend=3
+vstart=16
+vend=17
+file=$(find oeb/ -name '*'-$book'*')
+grep '\c '$chstart $file -A500 | grep '\v '$vstart -A500 \
+| grep '\c '$(($chend + 1)) -B500 | grep '\v '$vend -B500