function cleanurls { for result in $(find . -name "result-*"); do; (cd $result; python3 ../chatgpt-fix-root-URLs.py); done; } function htmls { find -s result-$1 -name "*.html" | sed "s|^result-$1/||"; } function commonhtmls { comm -12 <(htmls $1) <(htmls $2); }