#!/bin/bash

if [ $# != "1" ] ; then
echo "this script needs a task name as an argument"
echo "i.e. $0 update-wcm"
echo "it will return the path to the file with the task in it"
exit 1
fi

find . -wholename */config/includes/*.xml -print0 -type f | xargs -0 grep -l "$1"

