Unix hacker tools from a beginners point of view

3 points by claes-magnus ↗ HN
I have written several posts on Unix hacker tools as of late (from a beginners point of view). Nothing new under the sun, but perhaps cute. This is my last post:

https://herebeseaswines.net/essays/2020-04-18-a-bash-perl

2 comments

[ 1.9 ms ] story [ 16.0 ms ] thread
If you want to overwrite the existing file, you can tee it instead of redirecting stdout.
I 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!