Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

  1. #!/bin/sh
  2.  
  3. if [ $# -ne 1 ]
  4. then
  5.         echo 'Wrong number of arguments. Specify the executable to use.'
  6.         exit
  7. fi
  8.  
  9. while
  10.         read input
  11. do
  12.         if [ `./$1 $input | grep "NOTFOUND" | wc -l` -eq 1 ]
  13.         then
  14.                 echo "$input"
  15.         fi
  16. done
  17.