"Szabolcs Nagy" <[EMAIL PROTECTED]> writes: >> while true >> do >> cat $DWM_PIPE >> done | /usr/bin/dwm > > it looks like a busy-loop > shouldn't there be a sleep in there?
Though on the first look it seems to be one, in fact it isn't. $DWM_PIPE is a fifo, so the loop idles most of the time unless there is written something new to $DWM_PIPE. (Should have named $DWM_PIPE $DWM_FIFO or so, I guess.) Regards, olli -- http://www.sopos.org/olli/ GnuPG-Key: gpg --recv-keys 0x9A00D827 GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827 NP: SS Decontrol - Police Beat