[SWLUG] si,ple shell in bash not working

Justin Mitchell justin at discordia.org.uk
Fri May 4 13:11:19 UTC 2007


On Fri, 2007-05-04 at 11:46 +0100, Stephen Constantinou wrote:
> I thought I would refresh my script knowledge as I want to write a menu 
> in bash.  I will use if's, while and other loops as well as read to take 
> in keyboard input.  I made a very modest start and got stumped at the 
> very beginning.

As an aside, if you want to make your menus look much prettier have a
play with dialog  (man 1 dialog)

e.g. dialog --menu "Choose an item" 12 20 5 1 One 2 Two 3 Three 4 Four 5
Five





More information about the Swlug mailing list