[svn] / ecrypt / trunk / scripts / tools.sh  

svn: ecrypt/trunk/scripts/tools.sh

Diff for /ecrypt/trunk/scripts/tools.sh between version 144 and 145

version 144, Thu Dec 29 18:47:18 2005 UTC version 145, Thu Dec 29 19:03:21 2005 UTC
Line 98 
Line 98 
     if [ -n "$list" ]; then      if [ -n "$list" ]; then
         i=0;          i=0;
         for item in $1; do ((i++));          for item in $1; do ((i++));
             expr match ",${list// /}," ".*,$i," &> /dev/null && echo "$item";              expr ",${list// /}," : ".*,$i," &> /dev/null && echo "$item";
         done          done
     else      else
         echo "$1";          echo "$1";


Generate output suitable for use with a patch program
Legend:
Removed from v.144  
changed lines
  Added in v.145

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help