As usual I have jumped in the water over my head. I have read through "Advanced Bash Scripting' on the Linux Document Project and the book 'Shell Scripting Recipes' by Chris F. A. Johnson and do not find the script code snippet I need. It is also possible I don't know what I am looking for either.
I have a very large file with lines of this flavor:
Code:
<li><font face="Arial, Helvetica, sans-serif"><a href="http://tldp.mirrors.dumbdave.com.au">http://tldp.mirrors.dumbdave.com.au</a><br>
<!-- Dumb Dave <tech.dumbdave.com.au> -->
I would like to wind up with a file that takes this format.
Code:
http://tldp.mirrors.dumbdave.com.au; Dumb Dave <tech.dumbdave.com.au
I did read in the book that a good application to search and extract information from a line was either 'sed' or 'awk'.
Is there a tutoral that can quickly teach me or show me how to do this. I don't use either of these in my everyday life. At my age I'm doing good to hold on to what bash I know.
Thanks
Dave