C:\batextra>type swapawk.bat
c:\bin\awk "{print $3,$2,$1}" abc.txt
OUTPUT:C:\batextra> swapawk.bat
C:\batextra>c:\bin\awk "{print $3,$2,$1}" abc.txt
2009 26 11
2008 23 10
2009 15 05
INPUT:C:\batextra>type abc.txt
11 26 2009
10 23 2008
05 15 2009
__________________________________
C:\batextra>cd ..
C:\>cd bin
C:\bin> Usage: awk [-f programfile] [-Fc] [program] [var=value ...] [file ...]
C:\bin>
MKS Toolkit Commands – vi, sed, grep, awk, tar, gnu binutils, sh ...
Familiar environment enables UNIX/Linux developers to be equally productive on Windows with tools like vi, sed, grep, awk, tar, gnu binutils, sh, ksh, csh, ...
www.mkssoftware.com/products/tk/commands.asp?product.