如何使用文件中的perl打印+s之间的行,包括+s?我在一个文件中有这些行。
blah blah
+++++++++++++++++++++++++++++++++
this line should be included.
this line should be included too.
+++++++++++++++++++++++++++++++++
abcd 100101001010
所需的输出:
+++++++++++++++++++++++++++++++++
this line should be included.
this line should be included too.
+++++++++++++++++++++++++++++++++