Help using sed or awk for file edit
Posted on 2007-04-02
Can I ask for some help editting a file using sed or awk?
I have a pipe delimited file with 30 fields per record.
The 30th field contains numbers.
I want to find all the 12 digit numbers that start with a 7, and change them to eleven digit numbers. Basically I need to remove the leading 7 from the 12 digit numbers so I am left with a 11 digit number in that field.