Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Where $1 is a file, this reads and prints each line
# The idea is, replace the echo with something else that processes each line
while read line
do
echo "Line is: $line"
done < $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.