4 ms·
If you want to overwrite the existing file, you can tee it instead of redirecting stdout.
by rmacmaster 7y ago
If you want to overwrite the existing file, you can tee it instead of redirecting stdout.
- claes-magnus 7y agoI actually tried using tee to solve this, but failed. :) If you have the time, can you please tell me how to solve this particular problem? I would love to learn, otherwise, I will read elsewhere. The man pages on tee did not contain any examples. Thank you for your suggestion!