How luizsilvadba/format_output works
This small AWK utility formats command-line tabular output, especially DB2 CLP query results. The user runs a query and pipes its output to the script; the script uses column headings to determine widths and emits aligned columns. The README documents this flow, but no source excerpt was available to confirm implementation details beyond that description.
Main entry points: format.awk AWK formatter
Components 3
Other components
- User
- DB2 CLP
- AWK formatter
format.awk
Connections 3
- User → DB2 CLP: runs query
- DB2 CLP → AWK formatter: pipes output
- AWK formatter → User: prints formatted rows