Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (10 sloc) 0.315 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash

message=$1
project=$2

if [ -z ${project} ]; then
    project=`expr "$PWD" : "$WORKSPACE/\([^/]*\)"`
fi

search_dirs="ds-core-lib ed-core ed-tas-core-lib $project"

cd $WORKSPACE
propfiles=$(find -L $search_dirs -name '*messages*.properties' -not -path "[^/]*/target*")
grep -i -e "$message" $propfiles
Something went wrong with that request. Please try again.