monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: l.l


From: Jan-Henrik Haukeland
Subject: Re: l.l
Date: Thu, 28 Aug 2003 17:57:48 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Civil Service, linux)

Christian Hopp <address@hidden> writes:

> I am cleaning up l.l a bit again... (it includes the line number fix!).

Great!

> Just a question... I am confused about the start/stop arguments, you
> know... start="foo bar" ... there is explicit support for "{" "}"
> surrounding... why?

The idea was to allow a list of shell-commands. In bash (and sh?) the
{ list; } construct, specify a list of shell-commands to be executed
in the current process. I was thinking along the lines:

 "/bin/bash -c { cmd1; cmd2;..cmdn; }"

This will (probably) not work and the correct way to do this is to
enclose the list in single-quotes:


 "/bin/bash -c '{ cmd1; cmd2;..cmdn; }'"

I do not think it will harm to let it stand, but feel free to remove it.


-- 
Jan-Henrik Haukeland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]