您当前的位置: 首页 >  段智华

Sed 命令练习

段智华 发布时间:2015-07-26 20:11:47 ,浏览量:4


Sed 命令练习
$sed -e 's/people/anything/g' english_w06.txt   查找并替换下列材料中的 ’people  ’为 ‘anything‘
$ sed -n '/cooking/p' english_w06.txt 打印包含 cooking行
$ sed -n '/^some/p' english_w06.txt  打印以 some开头的行

sed -n '/are $/p' english_w06.txt 打印以 are结尾的行

english_w06.txt

Some people are a little nervous when it comes to cooking for someone else,
but even if you haven’t done much cooking, there are some delicious meals
you can prepare that will impress your date. The best part about cooking for
someone else is that it gives you an opportunity to serve the person you are
with, and that alone will start things off on a good note. The following are some
easy but delicious things you can cook on a date with someone new.

关注
打赏
查看更多评论

段智华

暂无认证

  • 4浏览

    0关注

    1232博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录