« * K @elfsternberg.bsky.social

Elf M. Sternberg @elfsternberg.bsky.social

2026-11-27 20:56 UTC

That just prints the first line. `uniq` prints out each unique line in a file, but they have to be sorted first. Sorting is a form of information loss. This prints out each unique line in a file, tracking if the line has been seen with a hash set without sorting it first.

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @elfsternberg.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup