筛选字符串中for后面的IP地址

实例:
字符串:[Aug 13 01:10:39] NOTICE[1331] chan_sip.c: Registration from ‘sip:[email protected]:6871;soid=36’ failed for ‘125.109.160.219:57057’ - Wrong password

sed “s /.* for’//g;s/:.*//g”

数学公式使用MathJax渲染* LaTex *数学公式,详见[math.stackexchange.com] [1] .-行内公式,数学公式为:$ \ Gamma(n)=(n-1)!\ quad \ forall n \ in \ mathbb N $ .-块级公式:[2]:https://github.com/jmcmanus/pagedown-extra“Pagedown Extra”[3]:http://meta.math.stackexchange.com / questions / 5020 / mathjax-basic-tutorial-and-quick-reference [4]:HTTP://bramp.github.io/js-sequence-图/ [5]:http://adrai.github.io / flowchart。 js / [6]:https://github.com/ benweet / stackedit   G a m m a n = n 1   q u a d   f o r a l l n   i n   m a t h b b N .-块级公式:[2]:https://github.com/jmcmanus/pagedown-extra“Pagedown Extra”[3]:http://meta.math.stackexchange。 com / questions / 5020 / mathjax-basic-tutorial-and-quick-reference [4]:HTTP://bramp.github.io/js-sequence-图/ [5]:http://adrai.github.io /flowchart.js/ [6]:https://github.com/ benweet / stackedit

猜你喜欢

转载自blog.csdn.net/qq_20640481/article/details/81391013
今日推荐