assign vales to arrary

Hi all

how can assign values from grep command to array?.

my grep command returning more than two values.

regards
koti.