Path: utzoo!utgpu!watmath!clyde!att!rutgers!mcnc!duke!romeo!khera From: khera@romeo.cs.duke.edu (Vick Khera) Newsgroups: comp.mail.mh Subject: Re: # signs in inbox Summary: how i deal with it. Message-ID: <12979@duke.cs.duke.edu> Date: 3 Dec 88 21:51:01 GMT References: <8812011831.aa18248@ICS.UCI.EDU> Sender: news@duke.cs.duke.edu Reply-To: khera@cs.duke.edu (Vick Khera) Organization: Duke University CS Dept.; Durham, NC Lines: 27 In article <8812011831.aa18248@ICS.UCI.EDU> gaspar@ALMSA-1.ARPA (Al Gaspar) writes: > >I notice that when I refile items from my inbox the orignal messages >are stored in files with the same number but with a '#' sign in >the first position. Are these removed by mh? How? I can do it >at the shell of course, but it seems so inelegant :-). > ... >Al Gaspar In my installation of mh, deleted and refiled messages are renamed to have a comma ``,'' before them. i take care of these files with my .logout file. comma-files that have not been modified in two or more days are deleted. -------- if ( "$HOST" == "romeo" ) then find `mhpath +` -name ,\* -mtime +2 -exec rm -f \{\} \; & endif clear echo Goodbye -------- v. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ARPA: khera@cs.duke.edu Department of Computer Science CSNET: khera@duke Duke University UUCP: decvax!duke!khera Durham, NC 27706