added examples for awk, sed and exit codes