摘要: awk: awk '/^>/&&NR>1{print "";}{ printf "%s",/^>/ ? $0" ":$0 }' YourFile sed: sed -n '1{x;d;x};${H;x;s/\n/ /1;s/\n//g;p;b};/^>/{x;s/\n/ /1;s/\n//g;p;b};H' YourFile 阅读全文
posted @ 2018-09-12 10:15 xjce 阅读(1372) 评论(0) 推荐(0) 编辑