summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/echo.c b/src/echo.c
index 90b978646..65e8c80e4 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -70,6 +70,7 @@ If -e is in effect, the following sequences are recognized:\n\
"), stdout);
fputs (_("\
\\c produce no further output\n\
+ \\e escape\n\
\\f form feed\n\
\\n new line\n\
\\r carriage return\n\
@@ -203,6 +204,7 @@ just_echo:
case 'a': c = '\a'; break;
case 'b': c = '\b'; break;
case 'c': exit (EXIT_SUCCESS);
+ case 'e': c = '\x1B'; break;
case 'f': c = '\f'; break;
case 'n': c = '\n'; break;
case 'r': c = '\r'; break;