Modify column in flat file starting at line

July 21, 2009 at 19:34:33
Specs: Windows XP
Using AWK - I want to read a flat file with no delimiter and make changes to values in column 7, only between records 3-4. The real file is much larger, but I have chosen sample data.

FILE.IN:

BB0001FNP
BB0002FNP
BB0003FNP
BB0004FNP
BB0005FNP

FILE.OUT:

BB0001FNP
BB0002FNP
BB0003XNP
BB0004XNP
BB0005FNP

THANKS IN ADVANCE


See More: Modify column in flat file starting at line

Report •


#1
July 22, 2009 at 18:53:12
I forgot to describe in my previous "AWK" message that I am using a UNIX operating system (not Windows XP).


Thanks


Report •
Related Solutions


Ask Question