pretty-print mutt emails
Cameron Simpson
cs at cskk.id.au
Mon Nov 22 23:22:00 UTC 2021
On 22Nov2021 13:48, Globe Trotter via Mutt-users <mutt-users at mutt.org> wrote:
>/home/gt/bin/muttprint_print: /home/gt/bin/muttprint: /usr/bin/perl^M:
>bad interpreter: No such file or directory
You've got carriage returns in the text of the script (the "^M" above).
They are no considered whitespace (and in any case, IIRC, POSIX does not
guarrentee to handle more than one argument after the command in a
shebang ("#!") line).
You probably want to strip all the trailing carriage returns from this
script.
Cheers,
Cameron Simpson <cs at cskk.id.au>
More information about the Mutt-users
mailing list