I have a 200 Mb text file and for every line need to swap the 3rd and 4th characters with the 6th and 7th characters, so that
1234567890
would become
1267534890
I am using Windows XP with PowerShell installed. Also installed is Cygwin and UnxUtils so have access to versions of cut, sed, awk, grep, etc. There is no delimiter in the file, BTW.
Any suggestions would be appreciated.
Thanks!