3 ms·
I prefer cat because > vs < is an easy typo to make but one clobbers the file. Happy to pay the performance penalty as insurance against that.
by traviscj 9y ago
I prefer cat because > vs < is an easy typo to make but one clobbers the file. Happy to pay the performance penalty as insurance against that.
- vram22 9y agoYou can use the bash setting called noclobber to prevent such accidental deletion. https://en.wikipedia.org/wiki/Clobbering https://en.wikipedia.org/wiki/Clobbering