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:complete (bashcmd)
BoxMatrix >> Shell-Commands >> complete (bashcmd) | @ 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 |
Name-Collision - multiple objects in this wiki use the name complete!
|
Bash-Command
Command: | complete (bashcmd) - 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: | Specify how arguments are to be completed by Readline. |
Goto: GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
Excerpt from: Bash source >> complete command
Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.
complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...] Specify how arguments are to be completed by Readline. For each NAME, specify how arguments are to be completed. If no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. Options: -p print existing completion specifications in a reusable format -r remove a completion specification for each NAME, or, if no NAMEs are supplied, all completion specifications -D apply the completions and actions as the default for commands without any specific completion defined -E apply the completions and actions to 'empty' commands -- completion attempted on a blank line When completion is attempted, the actions are applied in the order the uppercase-letter options are listed above. The -D option takes precedence over -E. Exit Status: Returns success unless an invalid option is supplied or an error occurs.
Excerpt from: bashref.info >> Programmable Completion Builtins >> complete command
complete [-abcdefgjksuv] [-o COMP-OPTION] [-DE] [-A ACTION] [-G GLOBPAT] [-W WORDLIST] [-F FUNCTION] [-C COMMAND] [-X FILTERPAT] [-P PREFIX] [-S SUFFIX] NAME [NAME ...] complete -pr [-DE] [NAME ...] Specify how arguments to each NAME should be completed. If the '-p' option is supplied, or if no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. The '-r' option removes a completion specification for each NAME, or, if no NAMEs are supplied, all completion specifications. The '-D' option indicates that the remaining options and actions should apply to the 'default' command completion; that is, completion attempted on a command for which no completion has previously been defined. The '-E' option indicates that the remaining options and actions should apply to 'empty' command completion; that is, completion attempted on a blank line. The process of applying these completion specifications when word completion is attempted is described above (*note Programmable Completion::). The '-D' option takes precedence over '-E'. Other options, if specified, have the following meanings. The arguments to the '-G', '-W', and '-X' options (and, if necessary, the '-P' and '-S' options) should be quoted to protect them from expansion before the 'complete' builtin is invoked. -o COMP-OPTION The COMP-OPTION controls several aspects of the compspec's behavior beyond the simple generation of completions. COMP-OPTION may be one of: 'bashdefault' Perform the rest of the default Bash completions if the compspec generates no matches. 'default' Use Readline's default filename completion if the compspec generates no matches. 'dirnames' Perform directory name completion if the compspec generates no matches. 'filenames' Tell Readline that the compspec generates filenames, so it can perform any filename-specific processing (like adding a slash to directory names quoting special characters, or suppressing trailing spaces). This option is intended to be used with shell functions specified with '-F'. 'noquote' Tell Readline not to quote the completed words if they are filenames (quoting filenames is the default). 'nosort' Tell Readline not to sort the list of possible completions alphabetically. 'nospace' Tell Readline not to append a space (the default) to words completed at the end of the line. 'plusdirs' After any matches defined by the compspec are generated, directory name completion is attempted and any matches are added to the results of the other actions. -A ACTION The ACTION may be one of the following to generate a list of possible completions: 'alias' Alias names. May also be specified as '-a'. 'arrayvar' Array variable names. 'binding' Readline key binding names (*note Bindable Readline Commands::). 'builtin' Names of shell builtin commands. May also be specified as '-b'. 'command' Command names. May also be specified as '-c'. 'directory' Directory names. May also be specified as '-d'. 'disabled' Names of disabled shell builtins. 'enabled' Names of enabled shell builtins. 'export' Names of exported shell variables. May also be specified as '-e'. 'file' File names. May also be specified as '-f'. 'function' Names of shell functions. 'group' Group names. May also be specified as '-g'. 'helptopic' Help topics as accepted by the 'help' builtin (*note Bash Builtins::). 'hostname' Hostnames, as taken from the file specified by the 'HOSTFILE' shell variable (*note Bash Variables::). 'job' Job names, if job control is active. May also be specified as '-j'. 'keyword' Shell reserved words. May also be specified as '-k'. 'running' Names of running jobs, if job control is active. 'service' Service names. May also be specified as '-s'. 'setopt' Valid arguments for the '-o' option to the 'set' builtin (*note The Set Builtin::). 'shopt' Shell option names as accepted by the 'shopt' builtin (*note Bash Builtins::). 'signal' Signal names. 'stopped' Names of stopped jobs, if job control is active. 'user' User names. May also be specified as '-u'. 'variable' Names of all shell variables. May also be specified as '-v'. -C COMMAND COMMAND is executed in a subshell environment, and its output is used as the possible completions. -F FUNCTION The shell function FUNCTION is executed in the current shell environment. When it is executed, $1 is the name of the command whose arguments are being completed, $2 is the word being completed, and $3 is the word preceding the word being completed, as described above (*note Programmable Completion::). When it finishes, the possible completions are retrieved from the value of the 'COMPREPLY' array variable. -G GLOBPAT The filename expansion pattern GLOBPAT is expanded to generate the possible completions. -P PREFIX PREFIX is added at the beginning of each possible completion after all other options have been applied. -S SUFFIX SUFFIX is appended to each possible completion after all other options have been applied. -W WORDLIST The WORDLIST is split using the characters in the 'IFS' special variable as delimiters, and each resultant word is expanded. The possible completions are the members of the resultant list which match the word being completed. -X FILTERPAT FILTERPAT is a pattern as used for filename expansion. It is applied to the list of possible completions generated by the preceding options and arguments, and each completion matching FILTERPAT is removed from the list. A leading '!' in FILTERPAT negates the pattern; in this case, any completion not matching FILTERPAT is removed. The return value is true unless an invalid option is supplied, an option other than '-p' or '-r' is supplied without a NAME argument, an attempt is made to remove a completion specification for a NAME for which no specification exists, or an error occurs adding a completion specification.
GPL-Browser
Daily updated index of all complete code findings on the GPL-Browser. Last update: 2024-12-23 05:02 GMT.
The Browse
column points to the Path
containing the respective source code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Browse | Path | SoC | Arch | Model | Firmw | Diff | Download |
---|---|---|---|---|---|---|---|
puma7-atom-6591-750 | packages/bash-4.4.18/builtins | Puma7 | ATOM | 6591 | 7.50 | 4.9.279 | Download |
puma7-atom-6670-761 | packages/bash-5.1.16/builtins | Puma7 | ATOM | 6670 | 7.61 | 5.15.111 | Download |
2 directories containing complete source code |
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 |