Article 4ZX71 [SOLVED] not getting proper output for select case

[SOLVED] not getting proper output for select case

by
spalisetty
from LinuxQuestions.org on (#4ZX71)
Hello,
I am not getting proper output for case statement under select.
Code:#! /bin/bash
select liss in a b c
do
case $liss in
a)
echo "selected $liss";;
b)
echo "selected $liss";;
c)
echo "selected $liss";;
*)
echo "select a, b or c";;
esac
doneIt looks perfect for me but it is not getting proper response. Kindly help.latest?d=yIl2AUoC8zA latest?i=KeFaDi9n2pE:S5d9AQe7vLY:F7zBnMy latest?i=KeFaDi9n2pE:S5d9AQe7vLY:V_sGLiP latest?d=qj6IDK7rITs latest?i=KeFaDi9n2pE:S5d9AQe7vLY:gIN9vFwKeFaDi9n2pE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments