You're replying to a comment by gzeru.

gzeru Permalink
October 21, 2012, 12:35

Hi
I want to use one of your perl oneliner
perl -ne 'print if /regex1/../regex2/' as follows:

perl -ne 'print if /"MOVE.*UPOS-NR-KOMPONENTENARTIKEL"/../"TO.*UPOS-NR-KOMPONENTENARTIKEL"/' *pre
but does not supply the expected result.

If I use it this way:
perl -ne 'print if /UPOS-NR-KOMPONENTENARTIKEL/../UPOS-NR-KOMPONENTENARTIKEL/' *pre
I get the exact result.

can you explain it for me ?
Thanks in advance
gzeru

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "rocket": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.