#!/bin/bash if [ ! -e dotnet/out ]; then exit; fi 2 {if(outfile) close(outfile); outfile="codepages/" $1 ".TBL"} NF==2 {print > outfile}'