p.ksh 114 B

1234567891011
  1. if [[ "${2}" = +([0-9]) ]]
  2. then
  3. echo -e "Second parameter is ${2}."
  4. else
  5. echo -e "Non-numeric entered."
  6. fi