diff options
Diffstat (limited to 'bin/sh/bltin/echo.c')
-rw-r--r-- | bin/sh/bltin/echo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/bltin/echo.c b/bin/sh/bltin/echo.c index 8ce088a..850a811 100644 --- a/bin/sh/bltin/echo.c +++ b/bin/sh/bltin/echo.c @@ -79,8 +79,10 @@ main(argc, argv) while ((c = *p++) != '\0') { if (c == '\\' && eflag) { switch (*p++) { + case 'a': c = '\a'; break; case 'b': c = '\b'; break; case 'c': return 0; /* exit */ + case 'e': c = '\e'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; |