This sed invocation effectively remove absolute links from a web page. 
However, the regexp only match a one-line link. Does anybody how to match a 
multi-line link ?
sed -e 's/<A href="\/[^"]*">\([^<]*\)<\/A>/\1/g' <$file >$file.tmp
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to