When: June 20, 2012 7PM (6:30PM for QA)
Topic: Linux on small hardware
Moderators:
Kurt Keville, Systems Administrator, MIT Clinical Research Center
Tom Sohmers
Federico Lucifredi
Brian DeLacey
Michael Larabel, Founder, Phoronix Media
Location: MIT Building E51, Room 315
I really hate string processing in bash. So I'd like to write a
script in another language that 1. interacts with the user; 2.
calculates the desired values of some environment variables; and 3.
communicates those settings to the shell from which it was invoked
(since the environment variables
Is something like whiptail ruled out?
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Two thoughts:
* Use Bash's `process substitution' syntax: (...) and/or (...)
to pass the auxiliary process' stdin and/or stdout fd as an argument.
If you don't want to have two script-files rather than one, then
you may have to do something like...:
bash -c 'while
Here is a more complete list of candidates some of which may
handle the fd gymnastics in question for you and then simply
utter the desired results on their stdout:
Python:
python-dialog - Python module for making Text/Console-mode user interfaces
Text:
dialog- Displays user-friendly