added first 1033 readings index
This commit is contained in:
parent
ad72860f6e
commit
080a9d2733
@ -1,8 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/zsh
|
||||||
|
printf "start at reading no. L-"
|
||||||
for n in {1..2000}; do
|
read -r start_no
|
||||||
printf "index of reading no. L-%s?" "$n"
|
for ((n=$start_no;n<=4000;n++)); do
|
||||||
|
printf "index of reading no. L-%s:" "$n"
|
||||||
read -r index
|
read -r index
|
||||||
line="$(grep -P "^$index\t" lesungen)"
|
if [ "$index" -gt 2200 ]; then
|
||||||
printf '%s\t%s\n' "$line" "$n" | tee -ai test
|
echo "Kanji from third book. Just adding index and reading index for now"
|
||||||
|
printf '%s\t\t%s\n' "$index" "$n" | tee -ai readings_index
|
||||||
|
else
|
||||||
|
line="$(grep -P "^$index\t" lesungen)"
|
||||||
|
printf '%s\t%s\n' "$line" "$n" | tee -ai readings_index
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
1034
readings_index/readings_index
Normal file
1034
readings_index/readings_index
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user