summaryrefslogtreecommitdiff
path: root/mail/nmh-devel/files/patch-test_mhshow_test-binary
blob: 73aabc7d70600b03a31fecd6731a5ec219467439 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- test/mhshow/test-binary.orig	2023-12-04 03:00:44 UTC
+++ test/mhshow/test-binary
@@ -21,7 +21,7 @@ expected="$MH_TEST_DIR/test-binary$$.expected"
 
 #### Use the printf to output the NUL byte so that this
 #### file (test-binary) doesn't need to be a binary file.
-printf '%s\000%s' >"${expected}" \
+printf '%s\x00%s' >"${expected}" \
 "[ Message inbox:11 ]
 To:      recipient@example.edu
 From:    sender@example.edu
@@ -33,7 +33,7 @@ Here's a null byte: " ".
 Here's a null byte: " ".
 "
 
-printf '%s\000%s' >`mhpath new` \
+printf '%s\x00%s' >`mhpath new` \
 "From: sender@example.edu
 To: recipient@example.edu
 Subject: test binary content