whitfin / runiq

An efficient way to filter duplicate lines from input, à la uniq.
MIT License
211 stars 23 forks source link

Support piped stdin #10

Closed mardukbp closed 11 months ago

mardukbp commented 4 years ago

It is very common to pipe the output of cat or find to a filtering program. It would be great if runiq could be used as a cross-platform drop-in replacement for uniq.

whitfin commented 4 years ago

This is already possible if you use - as the input source, which is modeled after tools like cat.

mardukbp commented 4 years ago

Just discovered that reading the code. It would be good to mention it in the help.