sed总结

1.sed获取Ipifconfig eth0 | grep "inet addr"|sed 's/i.*r://g'|sed 's/ B.*$//g'

原文地址:https://www.cnblogs.com/zhong12322/p/9862188.html