Changed to shell syntax for shell example.
Cleaned up shell example.
Added missing newline in shell example.