Hi , correct me if am wrong. we use the following syntax : while read -r row(where row is a variable) If we have to read a while line by line. Are there any other situations where we use this syntax / statement.
You can use the following syntax to read the file line by line:
cat | while read row
Please log in to post questions/answers: