Y
Hacker News
new
|
ask
|
show
|
jobs
by
cmcginty
2960 days ago
sponge is great when you want to read and write to the same file:
cat file.txt | grep -v secret | sponge file.txt