Skip to content

Commit 2e33c48

Browse files
committed
remove comma in tr as it was interpreted as such
1 parent fab67d0 commit 2e33c48

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

testssl.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -555,15 +555,15 @@ html_out() {
555555
fi
556556
}
557557

558-
# Removes on printable chars in CSV, JSON, HTML, see #2330
558+
# Removes non-printable chars in CSV, JSON, HTML, see #2330
559559
sanitize_fileout() {
560-
tr -d '\000-\011,\013-\037' <<< "$1"
560+
tr -d '\000-\011\013-\037' <<< "$1"
561561
}
562562

563-
# Removes on printable chars in terminal output (log files)
564-
# We need to keep the icolor ANSI escape code, see #2330
563+
# Removes non-printable chars in terminal output (log files)
564+
# We need to keep the color ANSI escape code x1b, o33, see #2330
565565
sanitize_termout() {
566-
tr -d '\000-\011,\013-\032,\034-\037' <<< "$1"
566+
tr -d '\000-\011\013-\032\034-\037' <<< "$1"
567567
}
568568

569569
# This is intentionally the same.

0 commit comments

Comments
 (0)