• Vladimír Čunát's avatar
    qflags: WIP refactor - regex replacements · 57d48522
    Vladimír Čunát authored
    sed -e 's/flags |= QUERY_\([A-Z0-9_]*\);/flags.\1 = true;/g' \
            -e 's/flags &= ~QUERY_\([A-Z0-9_]*\);/flags.\1 = false;/g' \
            -e 's/\(flags\|options\|opts\) & QUERY_\([A-Z0-9_]*\)\()\| ||\)/\1.\2\3/g' \
            -i $(git grep -l QUERY_)
    57d48522
zonecut.c 12.3 KB