I am currently trying to use GNU parallel tool. I put two parameters. First one is java class file and second one is text file which contains the list of java methods.
cat $2 | while read line
do
$ROOT_DIR/DRIVER_NAME $1 $line
done
And I want to use driver in parallel. How can I make this task in parallel using GNU parallel?