lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Lynx Question


From: Ian Whitfield
Subject: lynx-dev Lynx Question
Date: Thu, 25 Feb 1999 13:32:18 +0000

Hi,

I don't know if this is the right place to ask this question, if it
isn't
i'm sorry.

I'm trying to run lynx from within a perl script but get an error back
when i try to return a url which includes the '?' character.

The Script is -

#!/opt/bin/perl

$SITELIST =
"www.thisisstaffordshire.co.uk/scripts/edsection.asp?section=Local+sports";

open(SITE, $SITELIST);
while ($site = <SITE>) {

open(FILE,"/opt/bin/lynx -dump $site |") or die "can't open header
file";

while ($line = <FILE>) {

                if ($line =~ /shrews/i) {
                print "$line \n";
                }
        }
}

Lynx version is 2.7.1f
Machine is a sun ultra 1 running solris 2.6.

Any help would be most appreciated.

many thanks

Ian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]