moar icon indicating copy to clipboard operation
moar copied to clipboard

Specify standard input with - (dash)

Open genivia-inc opened this issue 8 months ago • 3 comments

Most *nix utilities support argument - to specify that standard input should be read.

This is useful for several reasons, such as when standard input should be processed together with other files or for automation with a bash script that takes a file argument to invoke moar in the script on that argument, so that - also works for those cases.

genivia-inc avatar Oct 08 '23 20:10 genivia-inc