Skip to content

Commit

Permalink
ckeck charecter
Browse files Browse the repository at this point in the history
  • Loading branch information
dikshantmali committed Feb 7, 2020
1 parent 4c9ba02 commit ef0c0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_alpha.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
echo "------programme to find alphabet , digit and special symbol ----- "
echo "enter the charecter to check alphabet or a digit or a special symbol"
read var
if [[ $var == [a-z] ]] ; then
if [[ $var == [a-z] ]]; then
echo "it is an alphabet"
elif [[ $var == [0-9] ]]; then
echo "it is a digit"
Expand Down

0 comments on commit ef0c0fa

Please sign in to comment.