hi,can someone please explain to me how to match patterns that contain newlines?
when file.txt contains aaa bbb ccc ddd eee why doesn't perl -pe 's/bbb.*?ddd//s;' file.txt remove lines 2-4? thx matthias -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/