home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 338 
 Wilfred van Velzen to Ben Ritchey 
 Re: Prompts 
 24 May 16 17:03:19 
 
Hi Ben,

On 2016-05-24 08:18:43, you wrote to All:

 BR> I need to 1) display a prompt, 2) accept an alphanumeric value and
 BR> assign it to an environment variable, then 3) test the variable and
 BR> act on it's value(s). I can do 1) and 3) but how do I accept data into
 BR> the environment?

 BR> I perused a few scripts and studied how to assign values to the
 BR> environment, etc., but keyboard input seems to be a rare case {chuckle}.

Bash has the builtin 'select' command, but also have a look at the 'dialog'
command...

Bye, Wilfred.

--- FMail-W32 1.69.22.178-B20160331
 * Origin: FMail development HQ (2:280/464)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca