【发布时间】:2014-03-20 01:02:08
【问题描述】:
如果文件是这样的:
ram_file
abc
123
end_file
tony_file
xyz
456
end_file
bravo_file
uvw
789
end_file
现在我想同时访问ram_file 和end_file、tony_file 和end _file 和bravo_file 和end_file 之间的文本。我尝试了sed 命令,但我不知道如何在此指定*_file
提前致谢
【问题讨论】: