#! /bin/bash # # echoing script - demonstrating echoing # # -e option turns on interpretation of backslash characters # -E option turns off interpretation of backslash characters # -n option omits the final newline for an echo statement # echo -e "sounds bell \a" echo -E "doesn't sound bell \a" echo -e "print some new lines: \n\n\n" # two ways to suppress new lines, some versions of echo might only # support one or the other echo -n "suppress a new line " echo "and continue on the same line" echo -e "suppress another new line \c" echo "and continue on the same line" echo -e "here is a \t tab" echo "here is a backslash \\"