如何在文本文件中打印 Mutt Mail 用户代理收件箱列表?
这就是我的问题:
我需要打印收件箱文件列表,其中包含以下设置:
set index_format="%4C %Z %{%d/%m/%y %H:%M} %s"
这样我需要将它们打印在文本文件中,并包含以下示例内容:
10 N F 08/07/19 08:53 Attention: alarm(14286247:motion detection) 11 N F 08/07/19 08:53 Attention: alarm(14033396:motion detection) 12 N F 08/07/19 08:53 Attention: alarm(12063427:motion detection) 13 N F 08/07/19 08:52 Attention: alarm(14033396:motion detection) 14 N F 08/07/19 08:51 Attention: alarm(14033396:motion detection) 15 N F 08/07/19 08:51 Attention: alarm(14286247:motion detection) 16 N F 08/07/19 08:51 Attention: alarm(13809971:motion detection) 17 N F 08/07/19 08:49 Attention: alarm(14286247:motion detection) 18 N F 08/07/19 08:49 Attention: alarm(14033396:motion detection) 19 N F 08/07/19 08:48 Attention: alarm(14286247:motion detection) 20 N F 08/07/19 08:48 Attention: alarm(14033396:motion detection) 21 N F 08/07/19 08:48 Attention: alarm(12063427:motion detection) 22 N F 08/07/19 08:46 Attention: alarm(14033396:motion detection) 23 N F 08/07/19 08:47 Attention: alarm(13809971:motion detection) 24 N F 08/07/19 08:45 Attention: alarm(12063427:motion detection) 25 N F 08/07/19 08:45 Attention: alarm(14033396:motion detection) 26 N F 08/07/19 08:46 Attention: alarm(13809971:motion detection) 27 N F 08/07/19 08:44 Attention: alarm(14286247:motion detection) 28 N F 08/07/19 08:40 Attention: alarm(12063427:motion detection) 29 N F 08/07/19 08:39 Attention: alarm(14033396:motion detection) 30 N F 08/07/19 08:38 Attention: alarm(14033396:motion detection)
答案1
您应该寻找邮件文件本身,而不是尝试打印 Mutt 邮件用户代理收件箱,它们有时也包含时间戳。
NeoMutt 文档可以帮助您: