[REBOL] Re: 'newline differences between OS.
From: andrew:martin:colenso:school at: 10-Sep-2003 8:20
> site: to-url replace/all site newline ""
Try:
site: to-url replace/all site LF ""
Or:
site: to-url replace/all site CR ""
Just in case:
>> CR
== #"^M"
>> LF
== #"^/"
Andrew J Martin
Attendance Officer &
Information Systems Trouble Shooter
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
Fax: 64-6-8336759
http://colenso.net/scripts/Wiki.r?AJM
http://www.colenso.school.nz/
> -----Original Message-----
> From: Reboler [mailto:[reboler--bol--com--br]]
> Sent: Wednesday, September 10, 2003 7:39 AM
> To: [rebol-list--rebol--com]
> Subject: [REBOL] 'newline differences between OS.
>
> Hi Folks!,
>
> When I do this on windows system, I can read the URL.
>
> site: {http://www.scirus.com/sciruslink/?src=sd&url=http%
> 3A%2F%2Fwww.sciencedirect.com%2Fscience%3F_ob%
> 3DGatewayURL%26_origin%3DScienceSearch%26_method%
> 3DcitationSearch%26_piikey%3DS0031320302001012%
> 26_version%3D1%26_returnURL%3Dhttp%253A%252F%
> 252Fwww.scirus.com%253Ffrm%253Dsimple%2526query_1%
> 253Dmetadata%2526dsmem%253Don%26md5%
> 3D56a0932880eb7edb63c4e72a9a65af23}
>
> site: to-url replace/all site newline ""
> read site
>
> But on Unix/OpenBSD, how can I solve this.. maybe the
> 'newline is not the
> same and then to-url doesn't work properly.
>
> Any tips?
>
> Thanks in advance
>
> Regards,
>
> --DJ
>
> --
> To unsubscribe from this list, just send an email to
> [rebol-request--rebol--com] with unsubscribe as the subject.
>
DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally
liable) for materials distributed to or acquired from user e-mail accounts. You can report
any
misuse of an e-mail account to our ICT Manager and the complaint will be investigated.
(Misuse can come in many forms, but can be viewed as any material sent/received that
indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate
language and/or other issues described in our Acceptable Use Policy.)
All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0
Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]