Amanda'blog

Tuesday, April 1, 2014

匹配行

sed -n -e '/pattern/p' 文件>新文件
Posted by Amanda.xin.wen at 9:04 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2019 (2)
    • ►  June (1)
    • ►  January (1)
  • ►  2015 (7)
    • ►  April (1)
    • ►  February (3)
    • ►  January (3)
  • ▼  2014 (8)
    • ►  December (2)
    • ▼  April (5)
      • 删除匹配行
      • 创建任意大小的文件And分割任意大小的文件(转)
      • grep 多次匹配
      • 打印匹配行,以及显示匹配行下面的的几行(转)
      • 匹配行
    • ►  March (1)
  • ►  2013 (20)
    • ►  October (2)
    • ►  July (2)
    • ►  April (1)
    • ►  March (5)
    • ►  February (5)
    • ►  January (5)

About Me

Amanda.xin.wen
View my complete profile
Simple theme. Powered by Blogger.