uweb/zh/searchurl/script/xzdic.sh

5 lines
270 B
Bash
Raw Normal View History

2020-04-29 08:37:43 +00:00
apt install less
cd /sdcard/Download/dict
(cat /data/data/info.torapp.uweb/files/home5.search;ls *.xz|awk '{print $0 ":c:xz -cdfq -- /sdcard/Download/dict/" $0,"|less -n +\"/^####%s\""}')|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /data/data/info.torapp.uweb/files/home5.search
2020-04-29 08:37:43 +00:00