TIP: Click on subject to list as thread! ANSI
echo: tuxpower
to: Ben Ritchey
from: Wilfred van Velzen
date: 2016-05-24 17:03:18
subject: Re: Prompts

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)
SEEN-BY: 154/10 203/0 227/51 249/303 261/38 280/464 5003 340/200 633/267 280
SEEN-BY: 640/384 712/848 770/1
@PATH: 280/464 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.