生命之诗-shell

#!/bin/sh randNum=0 plans=("Failed, try again" "Fell down, come one" "Congratulations, keep going") function random(){ randNum=$((RANDOM%($1))) } function doPlan(){ next=true ...