On Wed, 8 Jan 2014 10:10:35 +0100 Moullé Alain <[email protected]> wrote:
> works fine but ... > I also needed to execute the command in a perl script such as : > `crm -F configure filter \"sed '/threshold="1"/s/="1"/="0"/g'\"` > > but it seems also difficult to make it work with the mandatory CR and > <<END and END flags inside ... > :-\ Hmm, I'm not a perl hacker, but it shouldn't be impossible to feed multiline input to stdin from a perl script. You'll need to pipe the filter text to crm from perl. Googling seems to indicate that this [1] should have the answer, but my perl reading abilities aren't quite good enough to tell. :) [1]: http://perldoc.perl.org/perlipc.html#Using-open%28%29-for-IPC -- // Kristoffer Grönlund // [email protected] _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
