CmdID

CmdID / Commands

ifne

Run a command depending on the emptiness of stdin. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run the specified command if and only if stdin is not empty

ifne command command_optionsIdentify

Run the specified command if and only if stdin is empty, otherwise pass stdin to stdout

ifne -n command command_optionsIdentify