[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] Oddball question... %(num) and friends...
From: |
Ken Hornstein |
Subject: |
Re: [nmh-workers] Oddball question... %(num) and friends... |
Date: |
Sat, 04 May 2019 18:55:22 -0400 |
>I know %(num) gets you the current message number in a folder. Is
>there an easy way to get the *name* of the folder?
I almost said no ... but I would have been wrong!
% fmttest -raw -format '%(profile Current-Folder)' ''
inbox
And I learned something new today. Time to updare the documentation.
(The usual caveats apply about that being the CURRENT folder, but depending
on your use case it might be good enough).
--Ken