mirror of
https://github.com/FBukovina/burn-baby-burn.git
synced 2026-10-27 15:14:32 +00:00
make script groovier
This commit is contained in:
parent
060c30d12c
commit
21c6e52959
1 changed files with 21 additions and 0 deletions
21
bin/burn
21
bin/burn
|
|
@ -144,6 +144,27 @@ if ((tokens < MIN_TOKENS)); then
|
|||
exit 2
|
||||
fi
|
||||
|
||||
# Hard stop at 1,000,000 tokens. Past this point we feel obligated to
|
||||
# remind the user — out loud — what they actually downloaded.
|
||||
JOKE_THRESHOLD=1000000
|
||||
if ((tokens > JOKE_THRESHOLD)); then
|
||||
cat >&2 <<'EOF'
|
||||
|
||||
🔥🔥🔥 HOLD ON A SECOND 🔥🔥🔥
|
||||
|
||||
You just asked to burn more than 1,000,000 tokens.
|
||||
|
||||
Friendly reminder: THIS REPO IS A JOKE. It is a satirical bash script
|
||||
that lights real money on fire to inflate vanity metrics. There is no
|
||||
business reason to run it. The README is sarcasm. The "enterprise
|
||||
version" is not real. Your CEO might not be impressed.
|
||||
|
||||
Refusing to proceed. Go touch grass. 🌱
|
||||
|
||||
EOF
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ~4 chars/token is the standard rule of thumb for English text.
|
||||
target_chars=$((FILLER_TOKENS * 4))
|
||||
filler_len=${#FILLER_LINE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue