ifne (1) Linux Manual Page
NAME
ifne – Run command if the standard input is not empty
SYNOPSIS
-
ifne [-n] command
DESCRIPTION
ifne
OPTIONS
-n
- Reverse operation. Run the command if the standard input is empty.
Note that if the standard input is not empty, it is passed through ifne in this case.
EXAMPLE
-
find . -name core | ifne mail -s "Core files found" root
AUTHOR
Licensed under the GNU GPL
