Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Control Command Execution - ifne | Online Free DevTools by Hexmos

Control command execution with ifne, a utility that executes commands based on stdin emptiness. Streamline shell scripting and automate tasks. Free online tool, no registration required.

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 pass stdin to stdout:

ifne -n {{command options ...}}

See Also