Todd A. Jacobs
2008-09-29 19:22:43 UTC
I'm having a problem with creating newlines using the perl program
mime-construct from the bash shell. For example:
mime-construct --output --to nospam-S/***@public.gmane.org \
--subject Test --encoding 7bit --string "Foo\nbar" \
--file-attach test.doc | sendmail
puts a literal "\n" (not a newline) into the message. Is this a bug, or
am I failing to escape things properly somehow?
mime-construct from the bash shell. For example:
mime-construct --output --to nospam-S/***@public.gmane.org \
--subject Test --encoding 7bit --string "Foo\nbar" \
--file-attach test.doc | sendmail
puts a literal "\n" (not a newline) into the message. Is this a bug, or
am I failing to escape things properly somehow?
--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"