[ILUGC] [Help] Copying and Pasting text into multiple files

  • From: Baskar Selvaraj <baskar@xxxxxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Thu, 22 Dec 2016 20:50:10 +0530

Dear all,
I have around 3K HTML files which I had to insert <title> tags, provided
the title tags are available in a separate file (see the pastebin)

Titles

http://pastebin.com/ZEKnQEay

The HTML file informations are available in a separate file (both the files
has the same line count and also in order). Now, I have to take the title
information from 'title' file and insert into corresponding HTML file based
on the HTML filename available in the below file.

HTML Filename informations

http://pastebin.com/nh23PRc5

Any SED/AWK solution would be helpful.

-- 
S. Baskar


_____________________________________
ILUGC List: http://www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts: