On 22Nov2021 13:48, Globe Trotter via Mutt-users <mutt-users@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 <c...@cskk.id.au>