摘要: sed 's?^\(Maintainer:\).*$?\1 '"${DEBEMAIL}"'?;s?^\(Homepage:\).*$?\1 '"${DEBWEBHP}"'?' \ < debian/control \ > debian/control.newmv debian/control.new debian/control含义:.*代表所有,$代表结尾?是分隔符$1是Maintainer:这里s?表示?为分隔符可以把?换成/?有表示前面出现的内容出现0-1次 但这里表示分隔符的概念。同时推 阅读全文
posted @ 2013-01-12 14:08 SA高处不胜寒 阅读(320) 评论(0) 推荐(0) 编辑