Filter files in place


/ Published in: Bash
Save to your folder(s)

URLs:


Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until they are done, and then write the result. See also `sed`'s `-i` option. Be aware that this may clobber your files if an error occurs during processing, so it is best to back them up (though `reservoir` refuses to truncate files to nothing by default).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.