日期:2014-05-16 浏览次数:20681 次
sed -i -e "s#.*http:#http:#g" filename ------解决方案--------------------echo "1.http://www.weds.com"|sed 's/.*http/http/g' ------解决方案--------------------sed 's/.*http*/http/g' test2.txt