in reply to one line regular expression
if the attributes are always in order.perl -nle '/metaattribute metaattribute-name="([^"]+)" metaobject-name +="([^"]+)"/ and print "$2.$1"' textfile
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|