Dan Hatton dan.hatton@btinternet.com wrote:
PARAMS='--sleep-command "apm -S" -u 900'
I suspect that PARAMS='--sleep-command apm\ -S -u 900' may do what you want, but I've not got a machine using sleepd to hand to try just now.
[...]
I suspect the problems result from my poor understanding of how the Bourne shell handles quotes. Any ideas, please?
Badly, IMO, and a major reason why I use the rc shell. It has a much simpler grammar.