$
$ # -e option displays "$" for end-of-line
$ cat -e f18
variable length with spaces $
more variable information $
some more variable information$
$
$
$ awk '{printf $0} END{print ""}' f18
variable length with spaces more variable information some more variable information
$
$
$ perl -lne 'printf; END{print}' f18
variable length with spaces more variable information some more variable information
$
$
What I am working on is a log for a bluetooth scanner and I probably
should have mentioned that there would be multiple lists (rows) which
are space separated (which makes the previously mentioned possibilities not perfect).
So the list I get it is ;
BD Address: 00:24:00:2C:00:76 [mode 1, clkoffset 0x27bc]
Device name: Nokia Test 0
Device class: Phone, Cellular (0x5a0204)
BD Address: 00:24:00:FB:00:9C [mode 1, clkoffset 0x3a75]
Device name: Nokia Test 1
Device class: Phone, Cellular (0x5a0204)
BD Address: 6C:00:02:00:97:00 [mode 1, clkoffset 0x324a]
Device name: Nokia Test
Device class: Phone, Cellular (0x520204)
So I would cut out the first column with ;
cut -c 17-
And am then seeking to have the the columns created per result as per;
00:24:00:FB:00:9C [mode 1, clkoffset 0x3a75] Nokia Test 1 Phone, Cellular (0x520204)
Thanks again for the (very!) quick response and if you feel you have
"shown me the path", its all good, it has helped me think of different possibilities.
However all information again, greatly appreciated
scottn, the results I am getting with the paste function seem to cut a few characters off, probably because the formatting is somewhat different with the real output.
But thanks, it has opened my eyes a bit more to the capabilities of paste !
tyler_durden,
Your response rocked it right on !
Awesome !
Thanks so much for your quick and professional responses.