ifne (1)
Leading comments
Title: ifne Author: Javier Merino Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 2008-05-01 Manual: moreutils Source: moreutils Language: English
NAME
ifne - Run command if the standard input is not emptySYNOPSIS
- 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