>How are you running strace? I could have sworn I included my strace command and its output in a message to this list a couple of days ago, but I can't find any trace of that now. I hate premature senility. :-(
Anyway, I'd done this: $ strace -fe execve,open,openat -f -q -s 500 mhfixmsg -decodetext 8bit \ -decodetypes text -textcharset UTF-8 -reformat -fixcte -fixboundary \ -noreplacetextplain -fixtype application/octet-stream -verbose \ -file $msg The output was as appended. I tried this with my patched 1.7.1 mhfixmsg and also with the new one I just built, with similar results. > strace -fe execve time sleep 1 This fails for me with strace: Can't stat 'time': No such file or directory Hmm. Apparently the time command isn't installed by default on Manjaro. Well, that's fixable: $ pacman -S time $ strace -fe execve time sleep 1 execve("/sbin/time", ["time", "sleep", "1"], 0x7ffd0e094b00 /* 104 vars */) = 0 strace: Process 857617 attached [pid 857617] execve("/home/smw/bin/sleep", ["sleep", "1"], 0x7ffc6a17d168 /* 104 vars */) = -1 ENOENT (No such file or directory) [pid 857617] execve("/local/paths/sleep", ["sleep", "1"], 0x7ffc6a17d168 /* 104 vars */) = -1 ENOENT (No such file or directory) [pid 857617] execve("/usr/local/sbin/sleep", ["sleep", "1"], 0x7ffc6a17d168 /* 104 vars */) = -1 ENOENT (No such file or directory) [pid 857617] execve("/sbin/sleep", ["sleep", "1"], 0x7ffc6a17d168 /* 104 vars */) = 0 [pid 857617] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=857617, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- 0.00user 0.00system 0:01.00elapsed 0%CPU (0avgtext+0avgdata 1952maxresident)k 0inputs+0outputs (0major+84minor)pagefaults 0swaps +++ exited with 0 +++ Manjaro has an interesting layout for binaries: $ ls -ld /sbin /bin /usr/bin lrwxrwxrwx 1 root root 7 Dec 18 10:21 /bin -> usr/bin lrwxrwxrwx 1 root root 7 Dec 18 10:21 /sbin -> usr/bin drwxr-xr-x 6 root root 184320 Feb 12 08:26 /usr/bin ...which explains why the time command was found in /sbin in the strace output. - Steven 8<----------------------------- cut here ---------------------------->8 execve("/local/paths/mhfixmsg", ["mhfixmsg", "-decodetext", "8bit", "-decodetypes", "text", "-textcharset", "UTF-8", "-reformat", "-fixcte", "-fixboundary", "-noreplacetextplain", "-fixtype", "application/octet-stream", "-verbose", "-file", "-", "-outfile", "decoded"], 0x7fff62f6f088 /* 104 vars */) = 0 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/usr/lib/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/home/smw/.mh_profile", O_RDONLY) = 3 openat(AT_FDCWD, "/home/smw/Mail/context", O_RDONLY) = 3 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/home/smw/Mail/mhn.defaults", O_RDONLY) = 3 openat(AT_FDCWD, "/tmp/nmh_testing/decoded", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgsLWrjg", O_RDWR|O_CREAT|O_EXCL, 0600) = 4 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgsLWrjg", O_RDONLY) = 4 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgsLWrjg", O_RDONLY) = 5 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgsLWrjg", O_RDONLY) = 4 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsg1wr43U", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgkbIBCl", O_RDWR|O_CREAT|O_EXCL, 0600) = 6 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgkbIBCl", O_RDWR|O_CREAT|O_TRUNC, 0666) = 6 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgsLWrjg", O_RDONLY) = 7 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgkbIBCl", O_RDONLY) = 5 mhfixmsg: /home/smw/Mail/mhfixmsgsLWrjg part 2, decode text/plain; charset=iso-8859-1 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgaIkkkF", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgnhCjdt", O_RDWR|O_CREAT|O_EXCL, 0600) = 6 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgnhCjdt", O_RDWR|O_CREAT|O_TRUNC, 0666) = 6 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgsLWrjg", O_RDONLY) = 7 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgnhCjdt", O_RDONLY) = 5 mhfixmsg: /home/smw/Mail/mhfixmsgsLWrjg part 1, decode text/html; charset=iso-8859-1 openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 5 openat(AT_FDCWD, "/usr/lib/gconv/ISO8859-1.so", O_RDONLY|O_CLOEXEC) = 5 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsguEmroo", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgkbIBCl", O_RDONLY) = 6 mhfixmsg: /home/smw/Mail/mhfixmsgsLWrjg part 2, convert UTF-8 to UTF-8 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsguEmroo", O_RDONLY) = 5 openat(AT_FDCWD, "/home/smw/Mail/mhfixmsgnhCjdt", O_RDONLY) = 5 +++ exited with 0 +++ 8<----------------------------- cut here ---------------------------->8 -- ___________________________________________________________________________ Steven Winikoff | "When things are not as they appear to be, Montreal, QC, Canada | it's because they're actually simpler s...@smwonline.ca | than you think them to be." http://smwonline.ca | - Robert Rankin, in The Hollow | Chocolate Bunnies of the Apocalypse