uses Bash & awk to generate a report a doc