comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: URL Parsing for wget in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: URL Parsing for wget in IDL [message #54847 is a reply to message #54843] Tue, 17 July 2007 09:34 Go to previous messageGo to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
Ben Panter wrote:
> Hi Folks,
>
> Does anyone know of a handy way of parsing URLs in IDL? Or even a nice
> perl script to do it? The situation is that we have a server that can
> accept SQL queries via URL encoding of a get command, which works in the
> main part but falls over with '&' and '+' type syntax.
>
> I'll write a regexp version myself if necessary, but it's not trivial
> - you have to ensure the ordering is correct as there are several
> encodings which use characters which would other wise be replaced.
>
> cheers,
>
> Ben
>

Ben,

Maybe I'm misunderstanding your problem but if you're just spawning wget
then adding the /sh keyword might fix most of your problems.

e.g.:

url=' http://www.google.co.uk/webhp?ie=UTF-8&oe=UTF-8&hl=e n&q=&tab=iw'

spawn,'wget '+url ; doesn't work
spawn,'wget '+url,/sh ; works

Thanks,

Allan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_table
Next Topic: Re: why is amoeba not working ??

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 16:51:23 PST 2025

Total time taken to generate the page: 2.56610 seconds