Read line by line from a variable in shell scripting

Viewed 49307

I have a script variable which is multi-line. How do i traverse this variable to read it line by line and process each line the way I want?

2 Answers
Related