-
-
Save chrisliebaer/074fe0e10f13e629a154e918a1546b91 to your computer and use it in GitHub Desktop.
Der Tichyfizierer
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 | |
| hartes_welches=/usr/bin/which | |
| nein() { | |
| echo "Walter F. Tichy lacht über dein Versagen" | |
| } | |
| # $ tichyfizieren man Mann >> tichy.sh | |
| # $ . tichy.sh | |
| tichyfizieren() { | |
| echo -e "$1() { nein; }\n$2() { \$(Welches $1) \"\$@\"; }\n" | |
| } | |
| which() { nein; } | |
| Welches() { $hartes_welches "$@"; } | |
| tar() { nein; } | |
| Teer() { $(Welches tar) "$@"; } | |
| mount() { nein; } | |
| Besteigen() { $(Welches mount) "$@"; } | |
| man() { nein; } | |
| Mann() { $(Welches man) "$@"; } | |
| umount() { nein; } | |
| Absteigen() { $(Welches umount) "$@"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment