mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Mention that NUL characters are not allowed in sh(1) input.
I do not consider this a bug because POSIX permits it and argument strings and environment variables cannot contain '\0' anyway. PR: bin/25542 MFC after: 2 weeks
This commit is contained in:
parent
cf6884f47d
commit
9764aa4157
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197371
|
@ -375,6 +375,10 @@ introduces a comment if used at the beginning of a word.
|
|||
The word starting with
|
||||
.Ql #
|
||||
and the rest of the line are ignored.
|
||||
.Pp
|
||||
.Tn ASCII
|
||||
.Dv NUL
|
||||
characters (character code 0) are not allowed in shell input.
|
||||
.Ss Quoting
|
||||
Quoting is used to remove the special meaning of certain characters
|
||||
or words to the shell, such as operators, whitespace, keywords,
|
||||
|
|
Loading…
Reference in a new issue