X-Original-To: pgsql-php@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5FD72476085 for ; Tue, 29 Apr 2003 14:50:57 -0400 (EDT) Received: from host.speedlogix.net (unknown [64.191.35.250]) by postgresql.org (Postfix) with ESMTP id C55B4475F09 for ; Tue, 29 Apr 2003 14:50:21 -0400 (EDT) Received: from ip68-102-181-163.ks.ok.cox.net ([68.102.181.163] helo=marcottesamiam) by host.speedlogix.net with asmtp (Exim 3.36 #1) id 19AaBW-0006Az-00 for pgsql-php@postgresql.org; Tue, 29 Apr 2003 14:50:34 -0400 Message-ID: <002101c30e80$2e89c750$a3b56644@marcottesamiam> Reply-To: From: To: Subject: New New :(( - Trying to figure out a couple things - Please help Date: Tue, 29 Apr 2003 12:50:17 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.speedlogix.net X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - casheze.biz X-Spam-Status: No, hits=2.3 required=5.0 tests=NO_DNS_FOR_FROM,NO_REAL_NAME version=2.50 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/32 X-Sequence-Number: 2002 Hi Sam Marcotte here I am real new at this - Old Mainframer and I know what I want to do but just not finding the correct functions. I want to figure out how to put info out of a file (it is xml). I need to find a way to look thru the file and find lines that look lik Computers I want to pull out just Computers (remove and write to another file (I can do the writes) Then Computers - ddddddd dddddd dddddd ddddd multi lies from start of desc to end - and take the off - and write each record till I find the end I know we are talking about 2 or 3 loops my main problem is find given data in the middle of a line of txt. Thanks for any help