At 18:07 on 07 Mar 2010, Vadkan Jozsef wrote:
> I don't know how to modify the:
>
> sed -r 's,.*(http://[^ \"$]+).*,\1,'
>
> command, to not just:
> $ echo "test string http://somewhere.uk/ test" | sed -r
> 's,.*(http://[^ \"$]+).*,\1,'
> http://somewhere.uk/";>http://somewhere.uk/
>
> rather ou
I don't know how to modify the:
sed -r 's,.*(http://[^ \"$]+).*,\1,'
command, to not just:
$ echo "test string http://somewhere.uk/ test" | sed -r 's,.*(http://[^
\"$]+).*,\1,'
http://somewhere.uk/";>http://somewhere.uk/
rather output this:
test string http://somewhere.uk/";>http://somewhere.uk/