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