GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#!/bin/bash diff -b <(sort $1) <(sort $2) $3 $4 $5