format the display of a shell script