Sunat padron

    awk -F\| '{print>$1}' file1 awk -F\| '{print $1","$2","$5","$6" "$7" "...