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