Resent-fcc:
EOF
-printf "recipient@example.com\ncc@example.com\n+outbox\nmessage body\n" | \
+printf 'recipient@example.com\ncc@example.com\n+outbox\nmessage body\n' | \
prompter $MH_TEST_DIR/prompter-file > /dev/null
check "$expected" "$MH_TEST_DIR/prompter-file" 'keep first'
Resent-fcc:
EOF
-printf "recipient@example.com\ncc@example.com\n+outbox\nmessage body\n.\n" | \
+printf 'recipient@example.com\ncc@example.com\n+outbox\nmessage body\n.\n' | \
prompter -doteof $MH_TEST_DIR/prompter-file > /dev/null
check "$expected" "$MH_TEST_DIR/prompter-file" 'keep first'
Resent-fcc:
EOF
-printf "recipient@example.com\ncc@example.com\n+outbox\nmessage body\n" | \
+printf 'recipient@example.com\ncc@example.com\n+outbox\nmessage body\n' | \
prompter -doteof -nodoteof $MH_TEST_DIR/prompter-file > /dev/null
check "$expected" "$MH_TEST_DIR/prompter-file" 'keep first'
message body
EOF
-printf "appendage\n" >> "$expected"
+printf 'appendage\n' >> "$expected"
-printf "recipient@example.com\ncc@example.com\n+outbox\nappendage\n" | \
+printf 'recipient@example.com\ncc@example.com\n+outbox\nappendage\n' | \
prompter -noprepend $MH_TEST_DIR/prompter-file > /dev/null
check "$expected" "$MH_TEST_DIR/prompter-file"
message body
EOF
-printf "recipient@example.com\ncc@example.com\n+outbox\nprependage\n" | \
+printf 'recipient@example.com\ncc@example.com\n+outbox\nprependage\n' | \
prompter -noprepend -prepend $MH_TEST_DIR/prompter-file > /dev/null
check "$MH_TEST_DIR/prompter-file" "$expected" 'keep first'
--------
EOF
-printf "woot woot\n" | \
+printf 'woot woot\n' | \
prompter -erase '\15' -kill '\7f' $MH_TEST_DIR/prompter-file > "$actual"
check "$expected" "$actual"
Resent-fcc: +outbox
EOF
-printf "woot woot\n" | prompter -nobody $MH_TEST_DIR/prompter-file > /dev/null
+prompter -nobody $MH_TEST_DIR/prompter-file > /dev/null
check "$expected" "$MH_TEST_DIR/prompter-file"