$ rm -rf expansions $ ln -s ../expansions . $ ls expansions/*.cdb | xargs -I '{}' sqlite3 {} "select id from datas where type != 0x11 and (type & 0x4000) = 0;" | xargs -I {} ./ygopro {} 2>&1 | tee ../redtext.txt "CallCardFunction"(c37573005.initial_effect): attempt to call an error function "CallCardFunction"(c37573006.initial_effect): attempt to call an error function $ cd .. $ exit $(wc -l < redtext.txt) Cleaning up file based variables ERROR: Job failed: exit code 2