help-cfengine
[Top][All Lists]
Advanced

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

Re: Getting $(allclasses) into a shellcommand


From: Mark . Burgess
Subject: Re: Getting $(allclasses) into a shellcommand
Date: Mon, 19 Jul 2004 21:20:49 +0200 (MEST)

I am interested in finding a different solution to this problem.
Any ideas would be welcome.

M

On 19 Jul, Chip Seraphine wrote:
> On Friday 16 July 2004 13:23, Ted Zlatanov wrote:
>> On Fri, 16 Jul 2004, tzz@lifelogs.com wrote:
>> 
>> >> Anyway, I am having issues passing these large lists of classes into the 
>> >> perl script that does the actual RPM installation.  [snip]
>> > Why not put it all in a text file with editfiles:, then parse that
>> > with Perl?
> 
> That was my fallback position, but that doesn't work either.  I get the same 
> truncation if I try to do this:
> 
> AppendIfNoSuchLine "$(allclasses)"
> 
> ...so presumably editfiles and shellcommands use the same size buffer.
> 
>> Oh, and of course you don't have to use Perl :)
> 
> Blasphemy!  Of *course* it has to be Perl!!!  :-)
>  
>> Ted
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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