You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by le...@apache.org on 2004/04/11 15:41:09 UTC

cvs commit: gump findproject.sh

leosimons    2004/04/11 06:41:09

  Added:       .        findproject.sh
  Log:
  Ever wondered what project name you need to reference? Spent time searching through the project definitions? I know I have :-D
  
  Revision  Changes    Path
  1.1                  gump/findproject.sh
  
  Index: findproject.sh
  ===================================================================
  #! /bin/bash
  
  if [ -z $1 ]; then
    echo Usage:
    echo    ./findproject.sh PATTERN
    exit 1
  fi
  
  if [ ! -d work ]; then
    ant gen
  fi
  
  cat work/*.xml | grep '<project' | \
     grep -o ' name="[a-zA-Z0-9_-]*"' | \
     grep -o '"[a-zA-Z0-9_-]*"' | sed -r 's/"//g' | grep $1
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org