lynx --dump http://www.example.com | perl -0777 -pe 's/.+^References[\ +r\n]+//sm' # or, to also strip the numbers: lynx --dump http://www.example.com | perl -0777 -pe 's/.+^References[\ +r\n]+//sm; s/^\s*\d+\. //mg'
In reply to Re: Simple link extraction tool
by davidrw
in thread Simple link extraction tool
by Scott7477
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |