摘要: 最近要从数据表(latex文件)中提取其中的两列数据,因为文件多,写了一个小脚本colext。#!/bin/bashif [$#<4];thenecho "Argument number <4\n"exitfifile=$1c1="\$$2"c2="\$$3"#echo ${c1} ${c2}awk -F"&" "{print ${c1} ${c2}}" $file | sed -e "/^\t/d" -e "/^$/d" -e  阅读全文
posted @ 2013-03-18 13:04 liyropt 阅读(291) 评论(0) 推荐(0) 编辑