cowsayeternal: Add really dumb cowsay script
This commit is contained in:
parent
70e74bf4c5
commit
4559167e88
10
cowsayeternal
Executable file
10
cowsayeternal
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
cowsaid="$(cowsay "E T E R N A L")"
|
||||
trap_exit() {
|
||||
printf "%s" "$cowsaid"
|
||||
}
|
||||
trap trap_exit EXIT
|
||||
while true; do
|
||||
cowsaid="$(cowsay -n <<< "$cowsaid")"
|
||||
printf "%s characters of cowsay; hit Ctrl+C to dump them\\n" "$(wc -c <<< "$cowsaid")"
|
||||
done
|
Loading…
Reference in New Issue
Block a user