anewer
anewer copied to clipboard
anewer appends lines from stdin to a file if they don't already exist in the file. This is a rust version of https://github.com/tomnomnom/anew
Checking if a file exists by using its pathname and later on opening the file by using its pathname again leads to a TOCTOU race condition. Just try to open...
Hi ! After posting this [tweet](https://twitter.com/sn0int/status/1379395606024699905), @sn0int mentioned `anewer` tool, which is an awesome, modern replacement for `anew`. My feature request is about supporting advisory locks `flock(2)` on linux. Indeed,...
Of course that can be done with filters before, but it would be easier to be able to specify an option to e.g., ignore changed numbers or timestamp-like data. I...