Tim wrote:
> I have also written my own script, which goes as follows:
> ;;=======================================================
> site: ftp://usr:[EMAIL PROTECTED]/webs/interfacefire/temps/test.txt
> print read site
> fp: open/lines/mode site [read write lines]
>   forall fp
>   [
>     if(find first fp "three")
>     [
>       print first fp
>       insert next fp "line four"
>     ]
>   ]
> close fp

Wouldn't it be easier to read %test.txt, make the changes locally, then
write %test.txt? Something like:

Site: ftp://.....
File: read/lines site
print File
forall File [
    ; blah blah blah...
    ]
write/lines Site File

That way you can more easily see what's going on.

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to