DEV Community

Query Filter
Query Filter

Posted on

remove

xxd -p inputfile | tr -d '\n' | awk '{for(i=1;i<=length($0);i+=2){b=substr($0,i,2);n=substr($0,i+2,2);if(tolower(b)!="c2" || tolower(n)=="ac") printf "%s", b}}' | xxd -r -p > outputfile

Top comments (0)