On 28/07/2010, at 1:03, Martin Barry <[email protected]> wrote:

You could get crazy and try to do this in a single regex but two stage is
clearer. e.g.

sed -e 's/&pg=[^&]*//g' -e 's/?pg=[^&]*&/?/'

Now you have 2 problems. --
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to