#!/usr/local/bin/bash echo "Add files" | egrep [aD][dD]{2} >& /dev/null/ echo ${?}