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
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
>
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
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
>
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
>
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
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