This commit is contained in:
Patrick Schleizer 2025-05-21 11:50:59 -04:00
parent bd01a68305
commit e1bae1c68a
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48
2 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@ set -x
set -e
set -o pipefail
if ! printf '%s\n' | wc -l >/dev/null ; then
printf "\
if ! printf '%s\n' "" | wc -l >/dev/null ; then
printf '%s\n' "\
$0: ERROR: command 'wc' test failed! Do not ignore this!
'wc' can core dump. Example:

View file

@ -35,8 +35,8 @@ ERROR: Please report this bug." >&2
trap error_handler ERR
if ! printf '%s\n' | wc -l >/dev/null ; then
printf "\
if ! printf '%s\n' "" | wc -l >/dev/null ; then
printf '%s\n' "\
$0: ERROR: command 'wc' test failed! Do not ignore this!
'wc' can core dump. Example: