So do you want to bring together all the data related to Peter, James, etc, so you can write another file with all the data together or you are searching for Peter and ONLY want to write out the data of Peter?
Wags ;) -----Original Message----- From: Alfa rOMEO [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 13:36 To: [EMAIL PROTECTED] Subject: simple Perl prog Hi, I have a problem and search after a simple perl solution: I want to search in a file after a Username and write all lines with this username in a new file. Example: Test<TAB>USER<TAB>Peter<TAB>FAX<TAB>011234567 Test<TAB>USER<TAB>Peter<TAB>PHONE<TAB>456789 and so on Thank u for answer. Best regards Captain Mike _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]