anew
Append lines from stdin to a file, but only if they don’t already appear in the file. Outputs new lines to stdout too, making it a bit like a tee -a that removes duplicates.
Details
Category: Discovery
Publisher: trickest
Created Date: 10/4/2021
Container: quay.io/trickest/anew:v0.1.1
Source URL: https://github.com/tomnomnom/anew
Parameters
new-file
file
requiredCommand:
- Filename with possible new resultsoriginal-file
file
requiredCommand:
- Original filetrim-whitespaces
boolean
Command:
-t
- trim leading and trailing whitespace before comparison