nmh-workers
[Top] [All Lists]

[nmh-workers] for me a useful script

2019-05-23 12:45:16
This may need some improvement could maybe use message number token on a
couple lines rather than the scan -width option but this works for me for
now.


--
cut here.
#!/usr/bin/bash
# file: nmhstat.sh - show message count, first message number and last message 
number.
echo "number of messages:"
scan|wc -l
echo "first available message:"
scan -width 6|head -1
echo "last available message:"
scan -width 6|tail -1

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>