In a script they set SEED as
SEED
SEED=${4-20}
When I echo $SEED it's 20, so I wonder what is the usage of 4 here?
echo $SEED
${1- hour}
${1- hour}
? and this closely related Q Using "${a:-b}" for variable assignment in scripts – steeldriver Jul 30 '22 at 14:56