debian man page for ifne

Query: ifne

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ifne(1) 																   ifne(1)

NAME
ifne - Run command if the standard input is not empty
SYNOPSIS
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. 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
Copyright 2008 by Javier Merino <cibervicho@gmail.com> Licensed under the GNU GPL 2008-05-01 ifne(1)
Related Man Pages
ps2ascii(1) - opensolaris
xargs(1l) - redhat
tee(1) - hpux
edinplace(1) - opensolaris
edinplace(1) - ultrix
Similar Topics in the Unix Linux Community
How to use AND operator with ifneq in Makefile?