中国开发网: 论坛: 程序员情感CBD: 贴子 292768
wind_mark
hoho, try this way...
get 3 lines since the first line contains the keyword:
sed -n '/ktlccond/,$p' yourfile|sed -n '1,3p'

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录