grep -o -w '\(48\|55\)=[^[:cntrl:]]\+' FILE | sed 'N;s/\n/ /'
-o Print only the matched parts of a matching line
-w Select lines containing matches that form whole words (a whole char is a letter, digit and underscore)
posted by J. Ernesto Aneiros at 4:58 PM on Jun 30, 2011
"Using grep to extract specific FIX protocol tags values from a file"
No comments yet. -