satelliteuser083 Posted August 13, 2008 Author Report Share Posted August 13, 2008 I still have a snag, I'm afraid, Steve. The "while" line produces in the following error-message: line 14: [: -eq: unary operator expected The "(wmctrl -l | grep gnumeric)" part works OK in a konsole, so there seems to be a syntax-problem elsewhere. I've tried a few changes to the line (using '(' instead of '[', for example) but I'm absolutely useless at de-bugging bash-syntax, so I'll have to ask you to look at it for me, please. Thanks. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.