Re: Tool to run a command

2001-08-22 Thread register
You dont really need to use a hash ... just read in the files and then push them onto an array as u print out the options ... then read in the option number and that will be the index of the array (remember to take the index starting from zero into account) On Wed, Aug 22, 2001 at 11:17:30AM -040

Tool to run a command

2001-08-22 Thread Messervy, Joe M
Hello, I hope someone can point me in the right direction. As a newbie I am just not sure where to go from here. I have a directory where I have several commands, I would like to create a script that reads the files, prints them out and allows the user to pick which one of the commands to run