How to Populate field in File with it's manipulated Filename?

view story

http://www.unix.com – Hi All, I need to create a script to process on 10 files. Mentioned below is one of those file and the requirement. HTML Code: Input File DCIA_GEOG_DATA_OCEAN.TXT Sample Record "Terr","TerrName","Dist","DistName","REGION","RgnName","BCName" "A0010000","Abilene TX A 1","A0010957","Dallas TX","A0010998","West","US HEADQUARTERS" "A0010001","Akron OH A 1","A0010954","Cleveland OH","A0010997","Centra (HowTos)