Thread: awk script help
View Single Post
Old 05-09-2008, 09:48 PM   #4 (permalink)
kyris
Registered User
 
Join Date: Oct 2007
Posts: 45
OS: Windows Vista Business


Re: awk script help

i want to do specifically what i described above. its part of an assignment for my university and i dont know much about awk, that's why, and i don't have time to bother...!

i think your solution would take all occurences of /.html/ and in an html code there are links with .html and text with .html. so it would have to be something like /href=/ or /src=/ and then RS="<" and then split up the record to fields and "clean" the link! but i don't know exactly how to do it!

is it more clear now?
__________________
"Football is not just a game; it is a weapon of the Revolution."
kyris is offline   Reply With Quote