致力于Ubuntu中文推广http://forum.ubuntu.com.cn/
http://forum.ubuntu.com.cn/viewtopic.php?t=334822
代码: 全选
sed -i '19i @Repository' file
sed -i '19i\ @Repository' file
#!/bin/bash i=`sed -n '/public.*class/=' $1`; sed -i ${i}i\ @Repository $1;