We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fab67d0 commit 2e33c48Copy full SHA for 2e33c48
1 file changed
testssl.sh
@@ -555,15 +555,15 @@ html_out() {
555
fi
556
}
557
558
-# Removes on printable chars in CSV, JSON, HTML, see #2330
+# Removes non-printable chars in CSV, JSON, HTML, see #2330
559
sanitize_fileout() {
560
- tr -d '\000-\011,\013-\037' <<< "$1"
+ tr -d '\000-\011\013-\037' <<< "$1"
561
562
563
-# Removes on printable chars in terminal output (log files)
564
-# We need to keep the icolor ANSI escape code, see #2330
+# Removes non-printable chars in terminal output (log files)
+# We need to keep the color ANSI escape code x1b, o33, see #2330
565
sanitize_termout() {
566
- tr -d '\000-\011,\013-\032,\034-\037' <<< "$1"
+ tr -d '\000-\011\013-\032\034-\037' <<< "$1"
567
568
569
# This is intentionally the same.
0 commit comments