Make the \c special character in echo suppress the newline too

This commit is contained in:
ridiculousfish
2012-10-17 02:59:43 -07:00
parent 7ee0ce745e
commit 57de1388e8
2 changed files with 3 additions and 2 deletions

View File

@@ -83,7 +83,8 @@ echo -e 'abc\41def'
echo -e 'abc\041def'
echo -e 'abc\121def'
echo -e 'abc\1212def'
echo -e 'abc\cdef'
echo -e 'abc\cdef' # won't output a newline!
echo ''
echo -e Catch your breath