a perl question

Thomas Cameron thomas.cameron at camerontech.com
Tue Jan 4 14:27:12 UTC 2011


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

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.

TC


More information about the users mailing list