Read and process the output of a command one row at a time


/ Published in: Bash
Save to your folder(s)

Read and process the output of a command one row at a time


Copy this code and paste it in your HTML
  1. while read -r ROW
  2. do
  3. echo $ROW
  4. done < <(command)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.