Skip to content

Instantly share code, notes, and snippets.

@jon-stewart
Created February 12, 2024 16:31
Show Gist options
  • Save jon-stewart/6e44aca4e678059c7dad91c4d61df671 to your computer and use it in GitHub Desktop.
Save jon-stewart/6e44aca4e678059c7dad91c4d61df671 to your computer and use it in GitHub Desktop.
Bash Loop Stdout (can never remember this)
<command> |
while IFS= read -r line ;
do
echo $line;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment