Re: [wmii] Need help with mailnotifier, I am confused

From: Alex Kilgore <adkilgor_AT_spartan.uncg.edu>
Date: Mon, 25 Feb 2008 13:59:24 -0500

Im gonna have to think that one through, offhand I am not sure what causes
this

 but I realized theres one problem with doing a ls -al here, it shows . and
.. and also it shows a total, so you might want to use
$mail = `ls -Al | wc -l`;
$mail--;
and you could incorporate the formatting when you actually write to the file
so it would be like
print STAT "$mail"." messages";

> When I run the script this directory shows in my home:
>
> /etpipe_decode=$my_pipe_decode;unsetmy_pipe_decode
>
> and it contains the 3 dirs in my INBOX. new, cur, tmp
>
> ???? Not shure though what causes this :-/
>
>
>
Received on Mon Feb 25 2008 - 20:00:06 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:36:27 UTC