vgersh99,
Thanks for your quick response.
I changed the FS to be "\\^F\\^" and OFS to be "^F^" in your script and tried it. It worked very well, except for the last column. For example when I specified the fld2delete=5 it did not delete the 5th field from the sample...