ifne(1) | ifne(1) |
NAME¶
ifne - Run command if the standard input is not emptySYNOPSIS¶
ifne [-n] command
DESCRIPTION¶
ifne runs the following command if and only if the standard input is not empty.OPTIONS¶
- -n
- Reverse operation. Run the command if the standard input is
empty.
EXAMPLE¶
find . -name core | ifne mail -s "Core files found" root
AUTHOR¶
Copyright 2008 by Javier Merino <cibervicho@gmail.com> Licensed under the GNU GPL2008-05-01 |