Displaying 1 result from an estimated 1 matches for "aaaddd".
Did you mean:
aaaand
2012 Mar 19
4
[Arrray] grep -v
Hi everyone,
I am trying to simulate the ''grep -v'' behavior in an array:
Ex:
vgrep([''aaa'',''bbb'',''ccc'',''aaaddd''], ''aaa'')
Would return:
[''bbb'', ''ccc'']
So I tried to use ruby to do it: normally the ''-'' operation should be
enough (http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-2D)
Here is the code:
puppet apply -e...