johnherman
MIS
I looked through several pages for an example, but without success, so here's my situation. I'm using grep to locate records with the keyword "PCN". I want to pipe that result to awk to find/list/print the next field following the keyword. However, the keyword (PCN) can occur at almost any position within the record (never the first position, but that hardly matters).
Just so you know the purpose, this is scanning across a printed report. The report supplier is going to increase the size of the field following the PCN and I want to be able to detect the first time they send using the new format so that we can do some validation. The PCN is an account number, and existing accounts will continue to use their shorter number, so locating the new accounts has great value to the testers and auditors. Thanks!
==================================
adaptive uber info galaxies (bigger, better, faster, and more adept than agile big data clouds)
Just so you know the purpose, this is scanning across a printed report. The report supplier is going to increase the size of the field following the PCN and I want to be able to detect the first time they send using the new format so that we can do some validation. The PCN is an account number, and existing accounts will continue to use their shorter number, so locating the new accounts has great value to the testers and auditors. Thanks!
==================================
adaptive uber info galaxies (bigger, better, faster, and more adept than agile big data clouds)