Skip to content

Instantly share code, notes, and snippets.

@lhunath
Forked from hobs/gist:486575
Created July 22, 2010 20:56
Show Gist options
  • Save lhunath/486582 to your computer and use it in GitHub Desktop.
Save lhunath/486582 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
for file; do
while read -r line; do
if [[ $line = "===" ]]; then
..
else
..
fi
done < "$file"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment