Format correct shell snippets.