>>>>> "c" == collargol <collargol at runbox.com> writes:
c> I have a problem writing a script in sh that will take the
c> first line of file1 (a single word), and then take the first
c> line on file2 (a string containing spaces and special
c> characters), and merge them together on one line in file3. Then
c> on to the next line and so forth.
The paste command might do what you want. "man paste" for details.
--
"Weaseling out of things is what separates us from the
animals ... except the weasel."
-- Emad El-Haraty
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!