putting manticore’s query.log into single lines
sometimes i’m dealing with large manticore logs where queries include line breaks. this helps me to get them into form that grep can work with: cat query.log |tr ‘\n’ ‘ ‘|tr ‘\r’ ‘ ‘ |sed ‘s/\/*/\n\/*/g’ |sed ‘s/[[:space:]]+/ /g’ |less