← Back to tools

anew

Add new lines to files, skipping duplicates

Text Processing linuxmacos Go MIT

Description

anew is a tool for adding new lines to files while skipping duplicates. It reads from stdin and appends only lines that don't already exist in the output file, useful for building unique lists.

AI Summary

Append unique lines to files while skipping existing duplicates

Capabilities

  • + Append new lines to files
  • + Skip lines that already exist
  • + Build unique line collections

Use When

  • When building deduplicated lists incrementally
  • When appending only new data to files

Avoid When

  • x When you need to remove duplicates from existing files

Related Tools

View AGENTS.md for anew