strona podręcznika bash: 
${parameter:-word} Use Default Values. If parameter is unset or null, the expansion of word is substituted. Otherwise, the value of parameter is substituted. 
 Więc jeśli jvm_xmx jest już ustawione na coś, pozostaje niezmienione. 
 Jeśli nie jest jeszcze ustawione na coś, jest ustawione na 1024. 
 Przykład: 
$ echo $jvm_xmx $ jvm_xmx=${jvm_xmx:-1024} $ echo $jvm_xmx 1024 $ jvm_xmx=2048 $ jvm_xmx=${jvm_xmx:-1024} $ echo $jvm_xmx 2048 $ 
 Komentarze