From my script
#!/bin/bash
echo "Which of these does not belong in the group?"; \
select choice in Mercedes Audi Chevrolet Audi Porsche BMW Volkswagen; do
if ]; then
echo "Correct! Chevrolet is not a German marque."; break; fi
echo "Errr...no. Try again."
doneI'm... (3 Replies)
Hi Im' trying to output a list of files then make the list files as choices, need someone to give me hand.
so far here is what i got.. a bit messy
#!/bin/sh
menu_str=`ls -1 file*`
cnt=0
for i in $menu_str
do
menu_item=${i}
cnt=$(($cnt+1))
echo $cnt
echo ${menu_item
}
done
... (3 Replies)
I need clarification on the following:
1. Which file system is supported by all distros?
2. Which file system is best to be used for handling large volumes of data, which also satisfies 1?
Please notify if a thread addressing these issues exists.
Thnx (2 Replies)
wxMultiChoiceDialog(3erl) Erlang Module Definition wxMultiChoiceDialog(3erl)NAME
wxMultiChoiceDialog - See external documentation: wxMultiChoiceDialog.
DESCRIPTION
See external documentation: wxMultiChoiceDialog .
This class is derived (and can use functions) from:
wxDialog
wxTopLevelWindow
wxWindow
wxEvtHandler
DATA TYPES
wxMultiChoiceDialog() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
new() -> wxMultiChoiceDialog()
See external documentation .
new(Parent::wxWindow() (see module wxWindow), Message::string(), Caption::string(), Choices::[[string()]]) -> wxMultiChoiceDialog()
Equivalent to new(Parent, Message, Caption, Choices, []) .
new(Parent::wxWindow() (see module wxWindow), Message::string(), Caption::string(), Choices::[[string()]], Options::[Option]) -> wxMulti-
ChoiceDialog()
Types Option = {style, integer()} | {pos, {X::integer(), Y::integer()}}
See external documentation .
getSelections(This::wxMultiChoiceDialog()) -> [integer()]
See external documentation .
setSelections(This::wxMultiChoiceDialog(), Selections::[integer()]) -> ok
See external documentation .
destroy(This::wxMultiChoiceDialog()) -> ok
Destroys this object, do not use object again
AUTHORS
<>
wxErlang 0.98.9 wxMultiChoiceDialog(3erl)