[SLUG] text manipulation

From: Eben King (eben01@verizon.net)
Date: Mon Jan 07 2008 - 02:27:11 EST


Hey scripters:

What can I run text through that'll change it from

url1
filename1
url2
filename2

to

url1 filename1
url2 filename2

Strictly speaking, it doesn't have to be in that format as long as I can use
both parts in the same command.

I tried sed (specifically the "H" and "x" commands), but it seems my sed-fu
is lacking. "paste"?

-- 
The mnky gibbering and screeching used to keep me up at night, although
in the lst week or so it's prtty mch tailed off to nthng. The smell has
gttn noticbly worse in the last cple of days, too.  The next time I get
a barrl full of mnkys, I'm going to try taking the lid off. -groo, AFCA
-----------------------------------------------------------------------
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 - 20:12:28 EDT