#!/bin/sh testage() { echo pouet >> toto return 0 } if `testage` then echo "oui" else echo "non" fi