Thus Eben King hast written on Wed, Jun 02, 2010 at 10:23:20PM -0400, and, according to prophecy, it shall come to pass that:
> I'm pretty good at regexes, but programming in sed is where I break down.
> How does one convert this:
A quick google search for
"using sed to join lines"
found
http://sed.sourceforge.net/sed1line.txt
which gives:
# join pairs of lines side-by-side (like "paste")
sed '$!N;s/\n/ /'
which works in my test.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:45:46 EDT