diff options
| author | Matthew Hunt <mph@FreeBSD.org> | 2000-06-26 22:43:30 +0000 |
|---|---|---|
| committer | Matthew Hunt <mph@FreeBSD.org> | 2000-06-26 22:43:30 +0000 |
| commit | a585d134513efbb6b7c35e2b8782a9b7034d6c39 (patch) | |
| tree | 9a92203b540d16d9588b1acb889c17883e288996 /bin | |
| parent | c5225ad92fc972c0e7ef1f043fba696b65bb7a03 (diff) | |
Notes
Diffstat (limited to 'bin')
| -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 8ce088ad060e8..850a8110fa673 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; |
