a perl question

Colin Law clanlaw at googlemail.com
Tue Jan 4 10:58:55 UTC 2011


On 4 January 2011 10:28, S Mathias <smathias1972 at yahoo.com> 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?

Try
which SOMEPERLMAGIC

Colin




More information about the ubuntu-users mailing list