From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 10:32:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 632BD106564A for ; Tue, 4 Jan 2011 10:32:01 +0000 (UTC) (envelope-from smathias1972@yahoo.com) Received: from web121409.mail.ne1.yahoo.com (web121409.mail.ne1.yahoo.com [98.138.90.103]) by mx1.freebsd.org (Postfix) with SMTP id E5CA68FC16 for ; Tue, 4 Jan 2011 10:32:00 +0000 (UTC) Received: (qmail 42854 invoked by uid 60001); 4 Jan 2011 10:32:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294137120; bh=Vc+WT4A94zn4GUMXm2PWm2MzBqqiJg7UJbcjWLKdnKA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=neFo84DBWOJjCMgoEsq9akMyu3bxAPYqlnsKVYiYyd8fdsdU4kX9mfgVn17euJLOJKfqjIT72tp6YraAWP4FhZvY1eBP7/mgosrrgTtjxr0p75jOrM/mAOo3424MQ7Cjkpu6xmFNdRdDAGQ158tPvy0oXQwbhwn5xOnDJRaDUDg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=oWuLnC7VWe0Fyf/Zn8abAFmSK4peNVHMQVNINtKOBrDkfaamE2yeQTkvaZHrGq14o1faxgDcm22+F0wtfEZ4gBq1Aty6hEH7WSt4vUIaoAqcxzozYwcmgewsFoyDbEwBftsFiJru9uGu9xIAoR/gBXC63HAdhRxb673xPFGgvPQ=; Message-ID: <117654.42578.qm@web121409.mail.ne1.yahoo.com> X-YMail-OSG: 24Nk.gAVM1n5MXTTFZsV18rnBDLKd8pdQfK4lRb1yo6uVsY 50glTw2B7llrhaqxafbu0wdrZyiaE.I9gYHeJyUyv7_LHejrHnYdvP_5iyHj wfh5a3Dbgntyq0dJ2gHVLgJJTJwiFu6iuaR37N4EYF3146rjOzqCPjCOLeBS 0LqlZrrYP4Fg7dRy7QKNIS0e_fvCf8x6MmoP1DA-- Received: from [94.21.195.28] by web121409.mail.ne1.yahoo.com via HTTP; Tue, 04 Jan 2011 02:32:00 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Tue, 4 Jan 2011 02:32:00 -0800 (PST) From: S Mathias To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 04 Jan 2011 12:17:43 +0000 Subject: a perl question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 10:32:01 -0000 cat asdf.txt bla-bla bla-bla bla[XYZ] importantthing another important thing [/XYZ] bla-bla bla-bla [XYZ] yet another thing hello! [/XYZ] bla-bla etc. $ SOMEPERLMAGIC asdf.txt > output.txt $ cat output.txt importantthing another important thing yet another thing hello! how can i sovle this question? what is SOMEPERLMAGIC? are there any perl gurus, that have a little spare time? Thank you! :\