Hi, 

I would like to extract all the lines containing the string call and write them with a 
newline. 

I have the following code, but nothing happens, what's wrong ? 

REBOL [] 

texte: read/lines %generic4.txt 

foreach ligne texte 
[ 
if parse/all texte [ "call" ] 
[ 
write/append %calls.txt ligne 
] 
] 

Thanks in advance

-------------------------------------------------
"Sound Mind, Sound Body" Juv�nal
"Lire et �tre curieux, c'est la m�me chose" Pascal Quignard
"Qui triomphe de lui-m�me poss�de la force" Lao-Tseu, extrait du Tao Te King
"Dans la course � la qualit�, il n'y a pas de ligne d'arriv�e" David Kearns
Allez voir mon site : http://www.desala.org

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
T�l�phone/Fax : 08 92 69 00 21 (0,34 � TTC/min)
Minitel: 3615 NETCOURRIER (0,15 � TTC/min)

--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

Reply via email to