summaryrefslogtreecommitdiff
path: root/builtins/echo.def
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/echo.def')
-rw-r--r--builtins/echo.def9
1 files changed, 2 insertions, 7 deletions
diff --git a/builtins/echo.def b/builtins/echo.def
index 4291d7c1..6792659a 100644
--- a/builtins/echo.def
+++ b/builtins/echo.def
@@ -31,8 +31,6 @@ $PRODUCES echo.c
#include <stdio.h>
#include "../shell.h"
-#include "common.h"
-
$BUILTIN echo
$FUNCTION echo_builtin
$DEPENDS_ON V9_ECHO
@@ -43,17 +41,14 @@ following backslash-escaped characters is turned on:
\a alert (bell)
\b backspace
\c suppress trailing newline
- \e escape character
+ \E escape character
\f form feed
\n new line
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
- \0nnn the character whose ASCII code is NNN (octal). NNN can be
- 0 to 3 octal digits
- \xHH the eight-bit character whose value is HH (hexadecimal). HH
- can be one or two hex digits
+ \num the character whose ASCII code is NUM (octal).
You can explicitly turn off the interpretation of the above characters
with the -E option.