2013年5月17日 星期五

[sed] Delete 3 line after the match word


[sed] Delete 3 line after the match word



sed -e '/DEBUG/,+3d' \

-e '/PARSER/d' \

-e '/Snmp_Set/d' \

 happy.txt >  happy-1.txt



Reference :



Related Posts:

0 意見:

張貼留言