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.

0
U

Property:mapfile

From BoxMatrix


BoxMatrix >> Shell-Commands >> mapfile @ 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

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

Excerpt from:   Bash source   >>   mapfile command

Possible #if / #endif blocks are compile options. There is no mechanism yet on BoxMatrix to detect which of these are set per model.

mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]

Read lines from the standard input into an indexed array variable.

Read lines from the standard input into the indexed array variable ARRAY, or
from file descriptor FD if the -u option is supplied.  The variable MAPFILE
is the default ARRAY.

Options:
  -d delim    Use DELIM to terminate lines, instead of newline
  -n count    Copy at most COUNT lines.  If COUNT is 0, all lines are copied
  -O origin    Begin assigning to ARRAY at index ORIGIN.  The default index is 0
  -s count    Discard the first COUNT lines read
  -t    Remove a trailing DELIM from each line read (default newline)
  -u fd    Read lines from file descriptor FD instead of the standard input
  -C callback    Evaluate CALLBACK each time QUANTUM lines are read
  -c quantum    Specify the number of lines read between each call to
            CALLBACK

Arguments:
  ARRAY    Array variable name to use for file data

If -C is supplied without -c, the default quantum is 5000.  When
CALLBACK is evaluated, it is supplied the index of the next array
element to be assigned and the line to be assigned to that element
as additional arguments.

If not supplied with an explicit origin, mapfile will clear ARRAY before
assigning to it.

Exit Status:
Returns success unless an invalid option is given or ARRAY is readonly or
not an indexed array.

Excerpt from:   bashref.info   >>   Bash Builtins   >>   mapfile command

mapfile [-d DELIM] [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD]
         [-C CALLBACK] [-c QUANTUM] [ARRAY]

Read lines from the standard input into the indexed array variable
ARRAY, or from file descriptor FD if the '-u' option is supplied.
The variable 'MAPFILE' is the default ARRAY.  Options, if supplied,
have the following meanings:

-d
     The first character of DELIM is used to terminate each input
     line, rather than newline.
-n
     Copy at most COUNT lines.  If COUNT is 0, all lines are
     copied.
-O
     Begin assigning to ARRAY at index ORIGIN.  The default index
     is 0.
-s
     Discard the first COUNT lines read.
-t
     Remove a trailing DELIM (default newline) from each line read.
-u
     Read lines from file descriptor FD instead of the standard
     input.
-C
     Evaluate CALLBACK each time QUANTUMP lines are read.  The '-c'
     option specifies QUANTUM.
-c
     Specify the number of lines read between each call to
     CALLBACK.

If '-C' is specified without '-c', the default quantum is 5000.
When CALLBACK is evaluated, it is supplied the index of the next
array element to be assigned and the line to be assigned to that
element as additional arguments.  CALLBACK is evaluated after the
line is read but before the array element is assigned.

If not supplied with an explicit origin, 'mapfile' will clear ARRAY
before assigning to it.

'mapfile' returns successfully unless an invalid option or option
argument is supplied, ARRAY is invalid or unassignable, or ARRAY is
not an indexed array.

GPL-Browser

Daily updated index of all mapfile code findings on the GPL-Browser. Last update: 2024-03-28 05:11 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.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-03-28 07:36 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-03-28 15:46 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 4020 7.39 <bash>
FRITZ!Box 4040 7.39 <bash>
FRITZ!Box 4060 7.39 <bash>
FRITZ!Box 5530 Fiber (main) 7.39 <bash>
FRITZ!Box 5590 Fiber (arm) 7.39 <bash>
FRITZ!Box 6430 Cable (arm) 7.57 <bash>
FRITZ!Box 6490 Cable (arm) 7.39 - 7.57 <bash>
FRITZ!Box 6590 Cable (arm) 7.39 - 7.57 <bash>
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 <bash>
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 <bash>
FRITZ!Box 6660 Cable (arm) 7.14 - 7.57 <bash>
FRITZ!Box 6660 Cable (atom) 7.14 - 7.57 <bash>
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 <bash>
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 <bash>
FRITZ!Box 6820 LTE v1 7.39 <bash>
FRITZ!Box 6820 LTE v2 7.39 <bash>
FRITZ!Box 6840 LTE 7.39 <bash>
FRITZ!Box 6850 LTE 7.39 <bash>
FRITZ!Box 6850 5G 7.39 <bash>
FRITZ!Box 6890 LTE 7.39 <bash>
FRITZ!Box 6890 LTE v1 7.39 <bash>
FRITZ!Box 6890 LTE v2 7.39 <bash>
FRITZ!Box 7272 7.39 <bash>
FRITZ!Box 7430 7.39 <bash>
FRITZ!Box 7490 (main) 7.39 - 7.57 <bash>
FRITZ!Box 7520 7.39 <bash>
FRITZ!Box 7520 v2 (arm) 7.39 <bash>
FRITZ!Box 7530 7.39 <bash>
FRITZ!Box 7530 AX 7.39 <bash>
FRITZ!Box 7560 7.39 <bash>
FRITZ!Box 7590 7.39 <bash>
FRITZ!Box 7590 AX 7.39 <bash>
FRITZ!Repeater 600 7.39 <bash>
FRITZ!Repeater 1200 7.39 <bash>
FRITZ!WLAN Repeater 1750E 7.39 <bash>
FRITZ!Repeater 2400 7.39 <bash>
FRITZ!Repeater 3000 7.39 <bash>
FRITZ!Repeater 3000 AX 7.39 <bash>
FRITZ!Powerline 1260E 7.39 <bash>
39 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-03-28 07:36 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

m