fixed typesetting

1. added spaces before and after pipe.
2. made each command a new line.