summaryrefslogtreecommitdiff
path: root/builtins/echo.def
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/echo.def')
-rw-r--r--builtins/echo.def5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtins/echo.def b/builtins/echo.def
index 6792659..923c43a 100644
--- a/builtins/echo.def
+++ b/builtins/echo.def
@@ -31,6 +31,8 @@ $PRODUCES echo.c
#include <stdio.h>
#include "../shell.h"
+#include "common.h"
+
$BUILTIN echo
$FUNCTION echo_builtin
$DEPENDS_ON V9_ECHO
@@ -48,7 +50,8 @@ following backslash-escaped characters is turned on:
\t horizontal tab
\v vertical tab
\\ backslash
- \num the character whose ASCII code is NUM (octal).
+ \0nnn the character whose ASCII code is NNN (octal). NNN can be
+ 0 to 3 octal digits
You can explicitly turn off the interpretation of the above characters
with the -E option.