[Sed] Delete specific word in all files Posted by Computer Newbie on 晚上11:40 in Linux, sed / No comments find . -name "*.c" -exec sed -e '/HAPpy/d' -i {} \; Reference: How to use find, -exec, grep, and sed with regular expression to replace part of a line of text? Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook
0 意見:
張貼留言