Text ops
Sort, deduplicate, reverse, wrap, trim and count lines — the operations you would otherwise pipe through the shell.
Drop repeats anywhere in the list, keeping the first of each.
web-01.prod db-02.prod web-10.prod web-2.prod api-01.prod cache-3.prod worker-11.prod worker-2.prod
14 → 9 lines · -5
Lines split on CRLF, CR or LF and come back joined with LF, and a trailing newline is treated as a terminator — so a file ending in one keeps it. Sort is code-point order, the way sort in the C locale reads it; natural sort compares digit runs as numbers, so file2 lands before file10 and case only breaks an exact tie. Shuffle is seeded, so the same seed always gives you the same order. Nothing leaves the browser, and anything over 2 MB or 200,000 lines is refused rather than risked.
Cleaning up a pasted list is a chain of small operations: strip blank lines, remove duplicates, sort, maybe wrap. Each is a one-liner in a shell, which is fine unless you are not in one.
The operations chain in order and the result updates as you go, with a running count of lines, words and characters. Sorting handles numbers as numbers, which the naive version gets wrong.
What people open it for
- Deduplicating and sorting a pasted list of values
- Counting lines, words or characters in a block of text
- Wrapping text to a fixed width for a commit message
In the terminal
tools textops
Every utility is also a command in the desktop's shell.