format shell commands.