On Tue, 7 Jul 2015, Rich Shepard wrote: > I understand sub(), gsub(), and substr() but have difficulty figuring out > how to use any or all to modify a field's contents.
The light clicked on last evening that awk is the wrong tool for this job. The appopriate one is sed. After careful re-reading of the sed portion of the 15-year-old ORA sed & awk book I thought of a set of sed commands that will do all the insertions and deletions required. Today I'll test until all cases are correctly handled. Will post the final sed script here for posterity. Rich _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
