Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2143 bpr 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