1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/zsh : > missing.txt ./xml2json | fgrep missing | shuf | while read m eva x ; do if [[ $x != *,* ]] && db-iris -x $eva &> /dev/null; then echo "\n$m $eva $x" echo $m $eva $x >> missing.txt else echo -n . fi sleep .2 done