[REBOL] Removing lines... Re:(3)

2000-04-14 Thread tjohnson
5:55 PM >> To: [EMAIL PROTECTED] >> Subject: [REBOL] Removing lines... Re: >> >> Hi Stefan: >> I have attached a file called "remove.r". It has >> two functions that were provided to me by other members >> of the mailing list. Perhaps t

[REBOL] Removing lines... Re:(2)

2000-04-14 Thread stefan . falk
Hi, Uhm.. yeah, but where's the attachment? =) //Best Regards Stefan Falk > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, April 13, 2000 5:55 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] Removing lines... Re: >

[REBOL] Removing lines... Re:(2)

2000-04-13 Thread mjelinek
irst data remove data][data: next data] >> ] ipfttremsert stremunrtity >> print mold head data ["asgnertiue" "fdyiaref" "aqwsedfbnkmuip;" "serybrtyaw"] - Michael Jelinek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

[REBOL] Removing lines... Re:

2000-04-13 Thread chris
[EMAIL PROTECTED] wrote: > > Hi list, > I've read a textfile with read/linesis there an easy way to remove > a line from the data? > > it goes something like: > > data: read/lines %blaah.txt > > if find data "plupp" [remove the line] <--- of course there oughta be > some easy code there..

[REBOL] Removing lines... Re:

2000-04-13 Thread tjohnson
Hi Stefan: I have attached a file called "remove.r". It has two functions that were provided to me by other members of the mailing list. Perhaps there are others that would find it useful. The first one is the one that I was looking for. It will replace text between two markers, so that it

[REBOL] Removing lines... Re:

2000-04-13 Thread haertle
Hi Stefan >I've read a textfile with read/linesis there an easy way to remove a >line from the data? > >it goes something like: > >data: read/lines %blaah.txt > >if find data "plupp" [remove the line] <--- of course there oughta be some >easy code there.. ;) > if "plupp" is the entire line,

[REBOL] Removing lines... Re:

2000-04-13 Thread norsepower
REBOL [] secure none out: make string! 10 words: copy [] foreach fields next read/lines %blaah.txt [ checker: true clear words foreach word parse fields newline [append words word] firstword: pick words 1 if firstword = "pluup" [ cle

[REBOL] Removing lines...

2000-04-13 Thread stefan . falk
Hi list, I've read a textfile with read/linesis there an easy way to remove a line from the data? it goes something like: data: read/lines %blaah.txt if find data "plupp" [remove the line] <--- of course there oughta be some easy code there.. ;) Best Regards Stefan Falk