#command-line-tool #text #header #remove #metadata

app tdrip

tdrip is a command-line tool to easily remove headers and metadata from text

1 unstable release

0.1.0 Sep 2, 2023

#58 in #remove

MIT license

5KB

tdrip

tdrip is a command-line tool to easily remove headers and metadata from text.

Usage

$ cat example.txt
This is the example text.
TODO This line will be removed.
FIXME This line will be removed.
HACK: This line will be removed.
NOTEThis line will be removed.
This line will not be removed. TODO

$ tdrip example.txt
This is the example text.
This line will not be removed. TODO

What lines are removed?

The lines starts with the following annotations.

  • FIXME
  • HACK
  • NOTE
  • TODO
  • XXX

Dependencies

~1.1–1.7MB
~32K SLoC