Hi Mikael,

I forgot to mention:

Use write/lines to write the results of my previous example back to file:

write/lines %filtered-log.txt result

Elan


At 02:33 AM 11/29/99 +0100, you wrote:
>I've just started out with some REBOL programming and the first task I was
>planning to solve is this:
>
>I got a backup log that I want to filter out all rows that match a set of
>strings.
>
>1. Open a text file
>2. Compare every line with all strings. And if match delete row.
>3. Write file back to disk.
>
>I've got a little bit of code doing this with one match string today :-) But
>I'm not going to show you how I did :-) Ugly code... I believe.
>
>Thanks :-)
>
>--
> Mikael Östergren
> [EMAIL PROTECTED]
> mob: +46 (70) 555 4431
> fax: +46 (8) 5981 5932
> voice box: +46 (8) 5981 5932
>
>
>

Reply via email to