Security tool · utils

anew

Appends only new, unique lines to a file (and prints them). The one-line dedup that makes pipelines idempotent.

dedupappendtomnomnom
Stable IDtool:anewLast updatedLast verifiedLegacy review pendingProvenanceSource-linked

Where anew fits

Appends only new, unique lines to a file (and prints them). The one-line dedup that makes pipelines idempotent.

Detection-first use

Start with the least intrusive template that can distinguish your hypothesis from a normal response. Preserve raw output and a negative control.

Installation references

Install with goAuthorization required
go install github.com/tomnomnom/anew@latest
Positive signal
Tool-specific output that supports the stated hypothesis.
Negative control
No result, or identical behavior against a known-safe control.
Intrusiveness
Review flags and target scope before execution.

Command templates

Append uniqueAuthorization required

Populate placeholders only with assets that are explicitly in scope.

cat {input} | anew {output}
Positive signal
Tool-specific output that supports the stated hypothesis.
Negative control
No result, or identical behavior against a known-safe control.
Intrusiveness
Review flags and target scope before execution.

Continue the workflow

Attribution and verification

Version history: normalized permanent page created 2026-08-20. Upstream activity and popularity are separate signals and do not establish tool safety.