I don't see the need to save to and read from a file.
You can do it all in memory, eg:

>> url:
http://ichart.yahoo.com/table.csv?s=^DJI&a=1&b=26&c=2004&d=1&e=25&f=2005&g=d
&ignore=.csv
==
http://ichart.yahoo.com/table.csv?s=^DJI&a=1&b=26&c=2004&d=1&e=25&f=2005&g=d
&ignore=.csv
>> url2: copy url
==
http://ichart.yahoo.com/table.csv?s=^DJI&a=1&b=26&c=2004&d=1&e=25&f=2005&g=d
&ignore=.csv
>> replace/all url2 "^^" "%5E"
==
http://ichart.yahoo.com/table.csv?s=%5EDJI&a=1&b=26&c=2004&d=1&e=25&f=2005&g
=d&ignore=.csv
>> read url2
== {Date,Open,High,Low,Close,Volume,Adj. Close*
25-Feb-05,10748.42,10871.53,10698.32,10841.60,15236800,10841.60
24-Feb-05,10672.24,...

Anton.

> You should, of course, replace the "^" with "%5E" ! Save the
> original URL to=
>  a file called "url" and then do this:
>
> a: read %url
> print read to-url replace/all a "^^" "%5E"
>
>
> Works overe here, should work fine for you too.
>
> HY

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to