I'm trying to write a shell script which asks for an ASCII character in the range A-Z or a-z and returns its equivalent numerical value. For example, the output might look like the following:scarlet$ Please type a character between A and Z or between a and z:scarlet$ A       scarlet$ The decimal value of A is: 65 My attempt:#!/bin/bashecho Enter a letter:read Aecho -n ${A} | od -i | head -1 | cut -b 10- | tr -d  
get numeric ASCII value for a character
text processing;scripting;od