mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:22:08 +02:00

* chronic, combine, ifdata, ifne, isutf8: add pages --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
352 B
352 B
ifne
Run a command depending on the emptyness of
stdin
. More information: https://joeyh.name/code/moreutils/.
- Run the specified command if and only if
stdin
is not empty:
ifne {{command options ...}}
- Run the specified command if and only if
stdin
is empty, otherwise passstdin
tostdout
:
ifne -n {{command options ...}}