I have a real quick question for you guys. After looking through the documentation and the site here, I was wondering if it were possible to keep grep from outputting each match on the same line.
In my example, I need to take a string in the format of
\xeb\x1a\x5e\x31\xc0\x88\x46\x07... etc. I use
grep -oP "x\K(\S\S)") to get each of the hex digit.
The output is correct, however each match is on its own line. This is a problem because I need to feed this output into another program. So again, is there any way to put each match consecutively without any type of padding?