Painting Blue Code
Simple, self-explanatory code snippets.
2015-08-22
MacOS - How to replace all lines of a text file matching a string (in terminal)
grep -vwE "(
string to replace
)"
sourcefile.txt
>
destinationfile.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment