How can I format grep results from my input text file to an easy to read output file?
Posted on 2015-01-26
I am trying to:
1.) Add some text before the url (The following URL:), before the page number (on page #) and before the results (had the following search results). URL must be a clickable link by itself in the output file.
2.) If the URL exists more than once (even with different search criteria, eliminate it from an output file I want to write to.
3.) Get all piped data onto one line (or as close as possible) in the output file.
I have an input file that looks like: