[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command-line biff?



* Nori Heikkinen (nori@sccs.swarthmore.edu) [030222 14:47]:
> does anyone know of a command-line version of some biff or buffy or
> whatever (mail notification program)?  i just wrote a little shell
> script to do it, that uses the xbuffy boxfile, but i was wondering if
> there were packages out there for that purpose.
> 
> i want this because often i'm logged in from some place i can't
> X-forward to, and i want to see how many new messages i have in what
> mailbox without opening all of them up.

Using mbox?

man --pager='less -s +/MAIL' bash

Using maildir?  Then the script is pretty simple; just count the number
of files in the 'new' subdirs.

Also see 'mutt -y'.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"If we do not believe in freedom of speech for those we despise we do not
believe in it at all."  --Noam Chomsky

Attachment: signature.asc
Description: Digital signature


Reply to: