Amanda'blog

Friday, March 29, 2013

删除某列的不匹配行

 awk '$2 == "LINUX" { print $0 }' test.txt
sed: sed -n -e '/^[0-9][0-9]* LINUX/p' test.txt
Posted by Amanda.xin.wen at 9:42 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)
    • ►  March (1)
  • ▼  2013 (20)
    • ►  October (2)
    • ►  July (2)
    • ►  April (1)
    • ▼  March (5)
      • excel填充26个字母
      • 删除某列的不匹配行
      • vcftools filter
      • samtools,vcftools,安装
      • linux多命令执行
    • ►  February (5)
    • ►  January (5)

About Me

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