comparison summa/concord @ 121:500614f45701

old changes?
author ht
date Sat, 30 Oct 2021 17:52:06 +0000
parents e182d4ea85ca
children
comparison
equal deleted inserted replaced
120:c0c036bea7c1 121:500614f45701
10 bi=0 10 bi=0
11 tb="C" 11 tb="C"
12 ff=latin/sth????.html 12 ff=latin/sth????.html
13 pat='x:p[.~"'$1'"]' 13 pat='x:p[.~"'$1'"]'
14 fi 14 fi
15 egrep -l "\b$1" /home/ht/My\ Documents/Aquinas/summa/$ff | tr '\012' '\000' | \ 15 egrep -l "\b$1" /home/ht/Documents/Aquinas/summa/$ff | tr '\012' '\000' | \
16 xargs -0 lxgrep -xmlns:x="http://www.w3.org/1999/xhtml" -w x:div $pat | \ 16 xargs -0 lxgrep -xmlns:x="http://www.w3.org/1999/xhtml" -w x:div $pat | \
17 sed "s/\(\b$1\w*\)/<b>\1<\/b>/; 17 sed "s/\(\b$1\w*\)/<b>\1<\/b>/;
18 s/<x:/</g; s/<\/x:/<\//g; 18 s/<x:/</g; s/<\/x:/<\//g;
19 s/xmlns:x/xmlns/; 19 s/xmlns:x/xmlns/;
20 1i \ 20 1i \