摘要: 使用sed操作: 1、个人博客的文件,只输出学生姓名 sed 's/...//;s/:.*//' 1.txt sed 's/.*-//;s/:.*//' 1.txt 2、只输出每个学生的url sed 's/.*:/http:/;25d' 1.txt 3、只输出个人博客里的学号 sed 's/-.*//' 1.txt 4、只输出个人博客... 阅读全文
posted @ 2016-12-20 20:59 疯狂的奶牛 阅读(118) 评论(0) 推荐(0) 编辑