1IFNE(1) moreutils IFNE(1)
2
3
4
6 ifne - Run command if the standard input is not empty
7
9 ifne [-n] command
10
12 ifne runs the following command if and only if the standard input is
13 not empty.
14
16 -n
17 Reverse operation. Run the command if the standard input is empty.
18
19 Note that if the standard input is not empty, it is passed through
20 ifne in this case.
21
23 find . -name core | ifne mail -E 'set escape' -s "Core files found"
24 root
25
27 Copyright 2008 by Javier Merino <cibervicho@gmail.com>
28
29 Licensed under the GNU GPL
30
31
32
33moreutils 2008-05-01 IFNE(1)