I want a Here document that will set more than one variables
Posted on 2014-12-08
I would like to have data in a "here doc" and be able to set several variables from the matching here doc line
if `hostname`= barney
ip = 10.10.10.11
make = Toshiba
I want the matching row in the data to set all the variables.
If this is not clear I can explain more