Re: Possible to determine new file name mhonarc just created?

1998-02-18 05:38:02
On Wed, 18 Feb 1998, Silvester Roessner wrote:

The problem is: I call mhonarc from a perl script to add
exactly one message a time to an archiv. Now I want to know the
name of the file mhonarc has created for this message.

One solution I know is to search all existing message files in an
archive for the subject, from , ... . But this is slow.

 ls -rt | tail -1

I'm sure there are ways to do this within perl.

Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
Relativism is the triumph of authority over truth, convention over justice.

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