Rechercher une page de manuel
ifne
Langue: en
Version: 2008-05-01 (fedora - 04/07/09)
Section: 1 (Commandes utilisateur)
NAME
ifne - Run command if the standard input is not emptySYNOPSIS
ifne [-n] commandDESCRIPTION
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" rootAUTHOR
Copyright 2008 by Javier Merino <cibervicho@gmail.com>Licensed under the GNU GPL
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre