Created
August 15, 2018 14:48
-
-
Save gudrutis/a16da25a67b697f72987b48e5796bbe6 to your computer and use it in GitHub Desktop.
Piping to while in bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while read i; do echo $i ; grep -Fxq "## IMPORT data-build-github" $i; echo $? ; done < <(ls | grep ^data-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment