I just joined and I am new to scripting. Please can some one help me to put links to a file that has been already sorted. code below.
grep -i $1 *html */*html | sed -e 's|<|.|g' -e 's|>|.|g' | sort | uniq -u >>output_file

I need to put links to the results so that when clicked the out put will link to the original file

butler/act5.html[/U]:.p class="speech".Alas, poor Yorick! I knew him, Horatio: a

Thanks for your help.

I don't understand what you are asking .. and since a few days have passed and nobody has attempted to answer your question i'm guessing they are in the same boat. Can you please clarify?