1ifne(1)                     General Commands Manual                    ifne(1)
2
3
4

NAME

6       ifne - Run command if the standard input is not empty
7

SYNOPSIS

9       ifne [-n] command
10

DESCRIPTION

12       ifne  runs  the  following command if and only if the standard input is
13       not empty.
14

OPTIONS

16       -n     Reverse operation. Run the command if the standard input is emp‐
17              ty.
18
19              Note  that  if  the  standard  input  is not empty, it is passed
20              through ifne in this case.
21

EXAMPLE

23       find . -name core | ifne mail -s "Core files found" root
24

AUTHOR

26       Copyright 2008 by Javier Merino <cibervicho@gmail.com>
27
28       Licensed under the GNU GPL
29
30
31
32                                  2008-05-01                           ifne(1)
Impressum