modify the shell script snippet's format