inital script for quicker readings index generator

This commit is contained in:
Alexander Bocken 2021-01-27 19:51:07 +01:00
parent 8ff538a170
commit 68fdc1e356
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

8
readings_index/lesungen_script Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
for n in {1..2000}; do
printf "index of reading no. L-%s?" "$n"
read -r index
line="$(grep -P "^$index\t" lesungen)"
printf '%s\t%s\n' "$line" "$n" | tee -ai test
done