Dear John,
On Sat, Mar 30, 2013 at 05:15:28PM +0100, John Niendorf wrote:
This looks really great, but where do I put the script?
I made it exicutable and put it in my path and I got the error that it wasn't
there.
I coped it to ~/ and got the same error.
John
I found a mistake in the extract_url.pl program: it doesn't escape
ampersands when present in the url, so when the command to actually
view the url is invoked, the shell gets confused. I made a quick fix
by substituting $command=~s//\\/g before running command.
Incoming from Luis Mochan:
I found a mistake in the extract_url.pl program: it doesn't escape
ampersands when present in the url, so when the command to actually
view the url is invoked, the shell gets confused. I made a quick fix
by substituting $command=~s//\\/g before running command.
Line
Line 633? 634? So:
# $command =~ s/%s/'$url'/g;
$command=~s//\\/g;
Sorry for not having given the line numbers, etc. I actually made
changes around 522 and 647, and defined a new subroutine (I named it
wlmsanitize) which modifies the command to run. A patch
follows.
I'm a perl