Task: prints the last non-empty line of "/workspace/dir1/a.txt"
Command: tac /workspace/dir1/a.txt | grep -m 1 '.'
Equivalent command: awk 'NF' /workspace/dir1/a.txt | tail -n 1