If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:select
BoxMatrix >> Shell-Commands >> select | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Bash-Command
Command: | select - type bash | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Bash-Commands - Origin: Bash | ||||||
Path: | Release: <bash> Lab+Rel: <bash> | ||||||
Properties: | Size: - Firmware: 7.04 - 8.00 | ||||||
Function: | Select words from a list and execute commands. |
Goto: Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
Excerpt from: Bash source >> select command
Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.
select NAME [in WORDS ... ;] do COMMANDS; done Select words from a list and execute commands. The WORDS are expanded, generating a list of words. The set of expanded words is printed on the standard error, each preceded by a number. If `in WORDS' is not present, `in '$@ is assumed. The PS3 prompt is then displayed and a line read from the standard input. If the line consists of the number corresponding to one of the displayed words, then NAME is set to that word. If the line is empty, WORDS and the prompt are redisplayed. If EOF is read, the command completes. Any other value read causes NAME to be set to null. The line read is saved in the variable REPLY. COMMANDS are executed after each selection until a break command is executed. Exit Status: Returns the status of the last command executed.
Excerpt from: bashref.info >> Conditional Constructs >> select command
The 'select' construct allows the easy generation of menus. It has almost the same syntax as the 'for' command: select NAME [in WORDS ...]; do COMMANDS; done The list of words following 'in' is expanded, generating a list of items. The set of expanded words is printed on the standard error output stream, each preceded by a number. If the 'in WORDS' is omitted, the positional parameters are printed, as if 'in '$@ had been specified. The 'PS3' prompt is then displayed and a line is read from the standard input. If the line consists of a number corresponding to one of the displayed words, then the value of NAME is set to that word. If the line is empty, the words and prompt are displayed again. If 'EOF' is read, the 'select' command completes. Any other value read causes NAME to be set to null. The line read is saved in the variable 'REPLY'. The COMMANDS are executed after each selection until a 'break' command is executed, at which point the 'select' command completes. Here is an example that allows the user to pick a filename from the current directory, and displays the name and index of the file selected. select fname in *; do echo you picked $fname ($REPLY) break; done
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
0 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-23 05:43 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | <bash> | |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | <bash> | |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | <bash> | |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | <bash> | |
4 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.
Firmware | Symbol |
---|---|
0 symbols for this command |