I have a feeling this could easier be accomplished with bash.

On 12/29/14 9:47 PM, Alan Glait wrote:

Hi !
I have the Idea to make a perl script (better than in bash) to make some configuration on linux.
I think to have some files like param.txt with some lines like:
param_one = ZZZ XX CCCC VV
param_two = ZZZZZZZZZ
param_three = X

so need to check if param_one is in some_file.conf and if it is there test the value .. if it is not .. add to some_file.conf ... I think it should be easy ... right ??

Thanks for any help ..

;)



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to