for f in *.tex; do sed -i 's/\\ADD{\([^}]*\)}/[\1]/g' "$f"; done