Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

  1. #!/bin/sh
  2.  
  3. if [ $# -ne 2 ]
  4. then
  5.         echo 'Wrong number of arguments. Specify the executable and the data file to use.'
  6.         exit
  7. fi
  8.  
  9. cat $2 | xargs --max-lines=1 ./$1
  10.