These are examples of bash the shell parameter extension ; see http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
Note: kshand zshalso support the expansion of your question (I'm not clear about the full functionality of the ceiling), while sh(only shell POSIX-function), do not support the expansion line replacement ${p//[0-9]/}.
${p//[0-9]/}
: (//) ([0-9]) - ( / , ).
${1
- +, . (##), - + $1. , , ## , # - - .
${LSB:-}
-op, script -u (nounset). : , $LSB , , , :-, .
, , Sigi :
"
${LSB:-} , -u ( set -u), $LSB . , $LSB ${LSB:-}. , set -u , .
"