-
-
Save mesuutt/92e1d6286c442b2003fe2c67d2133d7b to your computer and use it in GitHub Desktop.
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
1 one | |
2 two | |
3 three | |
so on |
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
#!/bin/bash | |
COUNT=0 | |
while true; do | |
COUNT=$(($COUNT + 1)) | |
echo "$COUNT" | |
sleep 1 | |
done |
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
#!/bin/bash | |
while true; | |
do | |
grep -f myfifo numbers.txt awk '{print $2; system("")}' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment