On Thu, Mar 05, 2009 at 01:15:21PM -0500, Kris Maglione wrote: > On Thu, Mar 05, 2009 at 01:54:37AM +0100, Paride Legovini wrote: >> I noticed that in wmii-hg actions are partially broken [...] >> >> I also noticed that a wmiir help message appears in the stdout, which >> means that wmiir is called with the wrong arguments somewhere in the >> scripts. I guess the problems are related. > > Nope, actions have nothing to do with wmiir. I'll look into it.
I found that the help message comes from this line in wmiirc: wmiir rm $(wmiir ls /lbar | sed 's,^,/lbar/,') It happens when `wmiir ls' returns nothing, as happens when wmii starts. Something like: LBARITEMS=$(wmiir ls /lbar | sed 's,^,/lbar/,') if [ ! -z $LBARITEMS ]; then wmiir rm $LBARITEMS fi unset LBARITEMS should fix this small aesthetic detail. Or we can just throw wmiir's output in /dev/null. p.