mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-03 02:15:23 +02:00
341 B
341 B
ifne
Run a command depending on the emptyness of
stdin
. More information: https://manned.org/ifne.
- 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 ...}}