Awk Regular Expression
Awk Regular Expression
- Objective: Want to get the filename and byte size printed in a legible format:
- Filename is of the pattern (exhangeMMDDs.par)
- Exchange Code Name
- MMDD
- “s.par” ending
- Byte Size Enclosed In Square Brackets
cbt0515s.par[495316]: valid size (will process)!
cme0515s.par[2044020]: valid size (will process)!
lif0515s.par[221548]: valid size (will process)!
lifee0515s.par[581755]: valid size (will process)!
smx0515s.par[276660]: valid size (will process)!