Re: a perl question

2011-01-04 Thread John Haxby
On 4 January 2011 14:27, Thomas Cameron wrote: > > Seriously, Mathias. These look like questions straight out of entry > level university classes. Are you asking mailing lists to do your > homework for you? > > Not cool at all. > > Especially as your supervisor may well be lurking on lists to s

Re: a perl question

2011-01-04 Thread Thomas Cameron
On 01/04/2011 04:27 AM, S Mathias wrote: > 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 >

Re: a perl question

2011-01-04 Thread Dave Cross
On 4 January 2011 10:27, S Mathias wrote: > 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

Re: a perl question

2011-01-04 Thread Michael Schwendt
On Tue, 04 Jan 2011 12:05:29 +0100, Joachim wrote: > On 01/04/2011 11:27 AM, S Mathias wrote: > > 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 >

Re: a perl question

2011-01-04 Thread Joachim Backes
On 01/04/2011 11:27 AM, S Mathias wrote: > 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 >

Re: a perl question

2011-01-04 Thread Larry Brower
swers. Connected by MOTOBLURâ„¢ on T-Mobile -Original message- From: S Mathias To: users@lists.fedoraproject.org Sent: Tue, Jan 4, 2011 04:27:35 CST Subject: a perl question cat asdf.txt bla-bla bla-bla bla[XYZ] importantthing another important thing [/XYZ] bla-bla bla-bla [XYZ] yet another thing

a perl question

2011-01-04 Thread S Mathias
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 questi