Peter Vollmar -- dwm (2008-01-19 21:51:17 +0100):
Thank you so much Jukka, your script works great. I've tried to simplify
it to fit my needs, now I have everything in one script. Apart from the
in.sh with FIFO solution, I have also managed to incorporate your script
in my .xinitrc in the
On 15 Jan Jukka Salmi wrote:
I noticed that you're using the
in.sh script I once posted to this list (IIRC). Have a [1]look at the
version I'm currently using, maybe it fits you needs:
Thank you so much Jukka, your script works great. I've tried to simplify
it to fit my needs, now I have
Peter Vollmar -- dwm (2008-01-15 12:06:19 +0100):
[...]
So in short, I haven't been able to implement your loop in a loop
script in my .xinitrc, because I don't understand much of its syntax.
Can you please help me?
Here's your snippet again:
for (i=0; ; i=(i+1)%m) {
execute
On Thu, Jan 10, 2008 at 01:26:20PM +0100, Jukka Salmi wrote:
Peter Vollmar -- dwm (2008-01-09 23:05:49 +0100):
fetchmail -c|sed 's/(//'|awk '{print $1-$3}'
BTW: if you use more than one of grep, sed and awk in a single
pipline, you have almost always done something wrong
;-)
okay:
$
Peter Vollmar -- dwm (2008-01-09 23:05:49 +0100):
Hi everybody,
Following the discussion earlier in December I've found a good solution
with 'fetchmail -c' showing the number of new messages in the status bar. The
code copied from Martin Sander's comment is:
fetchmail -c|sed 's/(//'|awk
On Thu, Jan 10, 2008 at 02:12:30PM +0100, Peter Vollmar wrote:
I don't have cron, so I'm interested in a separate loop (or distinct loop
iterations), but I don't know how to do it :-)
You don't have cron? What kind of system are you running?
You can just write a short script called e.g.
Hi everybody,
Following the discussion earlier in December I've found a good solution
with 'fetchmail -c' showing the number of new messages in the status bar. The
code copied from Martin Sander's comment is:
fetchmail -c|sed 's/(//'|awk '{print $1-$3}'
1
The problem is that fetchmail accesses