Skip to content

Instantly share code, notes, and snippets.

find . -type f | sed 's|\.\/||' | grep '\.' | sed 's|.*\.||' | sort | uniq -c
@gudrutis
gudrutis / while_with_pipe.sh
Created August 15, 2018 14:48
Piping to while in bash
while read i; do echo $i ; grep -Fxq "## IMPORT data-build-github" $i; echo $? ; done < <(ls | grep ^data-)