github.com/mgoltzsche/ctnr@v0.7.1-alpha/contrib/search-code.sh (about)

     1  #!/bin/sh
     2  
     3  SCRIPTDIR="$(dirname "$0")" &&
     4  cd "$SCRIPTDIR/.." &&
     5  egrep -nER "$1" . 2>/dev/null | grep -Ev '(^| )\./(build|vendor|dist|ctnr).*'