In posix mode, `command -v' should print absolute pathnames; sanitize command and filenames used in error messages so they don't contain non-printable characters

This commit is contained in:
Chet Ramey
2026-07-01 10:49:08 -04:00
parent 8085ee1396
commit 76037847c3
18 changed files with 237 additions and 76 deletions
+3 -1
View File
@@ -6632,7 +6632,9 @@ A backslash.
Begin a sequence of non-printing characters, which could be used to
embed a terminal control sequence into the prompt.
This escape is only useful when the prompt will be supplied to
\fBreadline\fP, so it shouldn't be used in \fBPS0\fP or \fBPS4\fP
\fBreadline\fP,
and is ignored and removed otherwise,
so it shouldn't be used in \fBPS0\fP or \fBPS4\fP
or when line editing is not enabled.
.TP
.B \e]