Perfectionism notwithstanding, there's no limit what can be further beautified :)
If you have 400 lines in input and 8 cores for Prime95 to follow,
awk '{if(NR%50==1){print "[Worker #"int(NR/50)+1"]"} if(NR>1){print "PRP="$1",2,"$2",-1"}}' infile >outfile
|