Run a command depending on the emptyness of stdin. More information: https://manned.org/ifne.
stdin
ifne {{command options ...}}
stdout
ifne -n {{command options ...}}