Then i tried to loop through it using for in: ... Different greps over a variable value in a bash script ...
stackoverflow.com