From 7b631e14a70f6c2e8dcabd2713422bc585af2703 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 26 May 2022 12:46:37 +0000 Subject: Rewrite el_parse.c, document the transition table Signed-off-by: Laurent Bercot --- doc/execlineb.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/execlineb.html') diff --git a/doc/execlineb.html b/doc/execlineb.html index fe4f0d3..f9d3e4d 100644 --- a/doc/execlineb.html +++ b/doc/execlineb.html @@ -133,10 +133,11 @@ newlines disappear completely.
  • \0xab sequences are recognized in quoted strings and evaluate to ASCII hexadecimal number ab.
  • \0abc sequences are recognized in quoted strings -and evaluate to ASCII octal number abc.
  • +and evaluate to ASCII octal number abc. abc must not +be greater than 377, or evaluate to 0.
  • \abc sequences are recognized in quoted strings and evaluate to ASCII decimal number abc. a must not -be zero.
  • +be zero. abc must not be greater than 255, or evaluate to 0.
  • A comment starts with a # and ends with the line. Comments are not recognized inside quoted strings.
  • Anything else is an unquoted string, that can evaluate to @@ -144,6 +145,9 @@ zero or more words.
  • Any character can be escaped in unquoted strings by prepending it with a backslash. It works the same way in quoted strings, except for the special sequences described above.
  • +
  • As a special case, an unquoted backslash at the end of a line, or at +the end of the input, is ignored. This is to make it easier to copy +execline fragments from a shell script.
  • -- cgit v1.2.3