Created
May 19, 2026 15:08
-
-
Save dewomser/8810e832ff2aa11d710eb9e5b1436a25 to your computer and use it in GitHub Desktop.
Bash und Spielerei mit Shebang. Bashscript tooter.sh als Interpreter
This file contains hidden or 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
| #!/home/foo/bin/tooter.sh | |
| a=lolo | |
| echo "das ist ein Test" | |
| echo "cat als shebang trötet Sourcecode" | |
| echo "$a" |
This file contains hidden or 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 | |
| # Das ist der Intergreter. Schreibt den Sourcecode von shebang_test.txy und piped ihn durch toot | |
| cat $1 | toot post |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment