%
% Filename: latin.mzn
% Usage:
% > minizinc -a --soln-sep "" --search-complete-msg "" -D"n=4;" latin.mzn | awk 'NF {print $0 | "sort"}' > temp.txt
% > awk -f latin.awk temp.txt >sol4.txt
% > cat latin.awk
/*
{
nn=split($0,a); n=sqrt(nn);
print NR;
for(i=0; i