[REBOL] Re: areas, text, and read/binary
From: joel:neely:fedex at: 11-Feb-2002 20:53
Hi, Alan,
alan parman wrote:
> Here is the problem: the line terminators in the saved text seem
> to multiply. i.e. with each new save of the text an additional
> line terminator is added to the end of each line.
>
> Is there a way to avoid this?
Have you tried WRITE/BINARY to put the text back to a file?
-jn-
--
; sub REBOL {}; sub head ($) {@_[0]}
REBOL []
# despam: func [e] [replace replace/all e ":" "." "#" "@"]
; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"}
print head reverse despam "moc:xedef#yleen:leoj" ;