Hi Stefan, 11-Jan-2000 you wrote:
>me again with my puny textediting script. :)
>The textfile has a couple o' lines:
>Foo 123
>Bar 123
>Doo 123
>.... now I wanna search the textfile for all occurances of Doo and remove
>those lines..
Assuming your file always ends in a newline:
removeme: "doo"
parse/all str [
some [
start: removeme thru newline end:
(remove/part start end)
:start
|
thru newline
]
]
Kind regards,
--
Ole Friis <[EMAIL PROTECTED]>
"Ignorance is bliss"
(Cypher, The Matrix)
- [REBOL] Simple textfile handling... Again.. stefan . falk
- ole_f
