Translations by Paco Molinero
Paco Molinero has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
~ |
Formats and prints ARGUMENTS under control of the FORMAT.
Options:
-v var assign the output to shell variable VAR rather than
display it on the standard output
FORMAT is a character string which contains three types of objects: plain
characters, which are simply copied to standard output; character escape
sequences, which are converted and copied to the standard output; and
format specifications, each of which causes printing of the next successive
argument.
In addition to the standard format specifications described in printf(1),
printf interprets:
%b expand backslash escape sequences in the corresponding argument
%q quote the argument in a way that can be reused as shell input
%(fmt)T output the date-time string resulting from using FMT as a format
string for strftime(3)
The format is re-used as necessary to consume all of the arguments. If
there are fewer arguments than the format requires, extra format
specifications behave as if a zero value or null string, as appropriate,
had been supplied.
Exit Status:
Returns success unless an invalid option is given or a write or assignment
error occurs.
|
|
2016-12-04 | ||
~ |
Evaluate conditional expression.
Exits with a status of 0 (true) or 1 (false) depending on
the evaluation of EXPR. Expressions may be unary or binary. Unary
expressions are often used to examine the status of a file. There
are string operators and numeric comparison operators as well.
The behavior of test depends on the number of arguments. Read the
bash manual page for the complete specification.
File operators:
-a FILE True if file exists.
-b FILE True if file is block special.
-c FILE True if file is character special.
-d FILE True if file is a directory.
-e FILE True if file exists.
-f FILE True if file exists and is a regular file.
-g FILE True if file is set-group-id.
-h FILE True if file is a symbolic link.
-L FILE True if file is a symbolic link.
-k FILE True if file has its `sticky' bit set.
-p FILE True if file is a named pipe.
-r FILE True if file is readable by you.
-s FILE True if file exists and is not empty.
-S FILE True if file is a socket.
-t FD True if FD is opened on a terminal.
-u FILE True if the file is set-user-id.
-w FILE True if the file is writable by you.
-x FILE True if the file is executable by you.
-O FILE True if the file is effectively owned by you.
-G FILE True if the file is effectively owned by your group.
-N FILE True if the file has been modified since it was last read.
FILE1 -nt FILE2 True if file1 is newer than file2 (according to
modification date).
FILE1 -ot FILE2 True if file1 is older than file2.
FILE1 -ef FILE2 True if file1 is a hard link to file2.
String operators:
-z STRING True if string is empty.
-n STRING
STRING True if string is not empty.
STRING1 = STRING2
True if the strings are equal.
STRING1 != STRING2
True if the strings are not equal.
STRING1 < STRING2
True if STRING1 sorts before STRING2 lexicographically.
STRING1 > STRING2
True if STRING1 sorts after STRING2 lexicographically.
Other operators:
-o OPTION True if the shell option OPTION is enabled.
-v VAR True if the shell variable VAR is set
-R VAR True if the shell variable VAR is set and is a name reference.
! EXPR True if expr is false.
EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.
EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.
arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne,
-lt, -le, -gt, or -ge.
Arithmetic binary operators return true if ARG1 is equal, not-equal,
less-than, less-than-or-equal, greater-than, or greater-than-or-equal
than ARG2.
Exit Status:
Returns success if EXPR evaluates to true; fails if EXPR evaluates to
false or an invalid argument is given.
|
|
2016-11-27 | ||
~ |
Mark shell variables as unchangeable.
Mark each NAME as read-only; the values of these NAMEs may not be
changed by subsequent assignment. If VALUE is supplied, assign VALUE
before marking as read-only.
Options:
-a refer to indexed array variables
-A refer to associative array variables
-f refer to shell functions
-p display a list of all readonly variables or functions, depending on
whether or not the -f option is given
An argument of `--' disables further option processing.
Exit Status:
Returns success unless an invalid option is given or NAME is invalid.
|
|
2016-11-27 | ||
~ |
Modify shell resource limits.
Provides control over the resources available to the shell and processes
it creates, on systems that allow such control.
Options:
-S use the `soft' resource limit
-H use the `hard' resource limit
-a all current limits are reported
-b the socket buffer size
-c the maximum size of core files created
-d the maximum size of a process's data segment
-e the maximum scheduling priority (`nice')
-f the maximum size of files written by the shell and its children
-i the maximum number of pending signals
-l the maximum size a process may lock into memory
-m the maximum resident set size
-n the maximum number of open file descriptors
-p the pipe buffer size
-q the maximum number of bytes in POSIX message queues
-r the maximum real-time scheduling priority
-s the maximum stack size
-t the maximum amount of cpu time in seconds
-u the maximum number of user processes
-v the size of virtual memory
-x the maximum number of file locks
-T the maximum number of threads
Not all options are available on all platforms.
If LIMIT is given, it is the new value of the specified resource; the
special LIMIT values `soft', `hard', and `unlimited' stand for the
current soft limit, the current hard limit, and no limit, respectively.
Otherwise, the current value of the specified resource is printed. If
no option is given, then -f is assumed.
Values are in 1024-byte increments, except for -t, which is in seconds,
-p, which is in increments of 512 bytes, and -u, which is an unscaled
number of processes.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
|
|
2016-11-27 | ||
~ |
Set or unset values of shell options and positional parameters.
Change the value of shell attributes and positional parameters, or
display the names and values of shell variables.
Options:
-a Mark variables which are modified or created for export.
-b Notify of job termination immediately.
-e Exit immediately if a command exits with a non-zero status.
-f Disable file name generation (globbing).
-h Remember the location of commands as they are looked up.
-k All assignment arguments are placed in the environment for a
command, not just those that precede the command name.
-m Job control is enabled.
-n Read commands but do not execute them.
-o option-name
Set the variable corresponding to option-name:
allexport same as -a
braceexpand same as -B
emacs use an emacs-style line editing interface
errexit same as -e
errtrace same as -E
functrace same as -T
hashall same as -h
histexpand same as -H
history enable command history
ignoreeof the shell will not exit upon reading EOF
interactive-comments
allow comments to appear in interactive commands
keyword same as -k
monitor same as -m
noclobber same as -C
noexec same as -n
noglob same as -f
nolog currently accepted but ignored
notify same as -b
nounset same as -u
onecmd same as -t
physical same as -P
pipefail the return value of a pipeline is the status of
the last command to exit with a non-zero status,
or zero if no command exited with a non-zero status
posix change the behavior of bash where the default
operation differs from the Posix standard to
match the standard
privileged same as -p
verbose same as -v
vi use a vi-style line editing interface
xtrace same as -x
-p Turned on whenever the real and effective user ids do not match.
Disables processing of the $ENV file and importing of shell
functions. Turning this option off causes the effective uid and
gid to be set to the real uid and gid.
-t Exit after reading and executing one command.
-u Treat unset variables as an error when substituting.
-v Print shell input lines as they are read.
-x Print commands and their arguments as they are executed.
-B the shell will perform brace expansion
-C If set, disallow existing regular files to be overwritten
by redirection of output.
-E If set, the ERR trap is inherited by shell functions.
-H Enable ! style history substitution. This flag is on
by default when the shell is interactive.
-P If set, do not resolve symbolic links when executing commands
such as cd which change the current directory.
-T If set, the DEBUG trap is inherited by shell functions.
-- Assign any remaining arguments to the positional parameters.
If there are no remaining arguments, the positional parameters
are unset.
- Assign any remaining arguments to the positional parameters.
The -x and -v options are turned off.
Using + rather than - causes these flags to be turned off. The
flags can also be used upon invocation of the shell. The current
set of flags may be found in $-. The remaining n ARGs are positional
parameters and are assigned, in order, to $1, $2, .. $n. If no
ARGs are given, all shell variables are printed.
Exit Status:
Returns success unless an invalid option is given.
|
|
2016-06-12 |
Establecer o valores no definidas de opciones de shell y los parámetros posicionales.
Cambie el valor de los atributos de concha y parámetros posicionales, o
mostrar los nombres y valores de las variables de shell.
Opciones:
-a Marcar variables que se han modificado o creado para la exportación.
-b Notifíqueme de terminación de trabajo inmediatamente.
Exit-e inmediatamente si un comando se interrumpe con un estado distinto de cero.
f Desactivar la generación de nombres de archivos (comodines).
-h Recuerde la ubicación de los comandos, ya que se buscan.
-k Todos los argumentos de asignación se colocan en el medio ambiente durante
comando, no sólo los que preceden al nombre del comando.
Control de trabajos -m está habilitada.
-n Leer comandos pero no ejecutarlos.
-o option-name
Establezca la variable correspondiente a la opción-name:
allexport mismo que -a
braceexpand mismo que -B
emacs utilizan una interfaz de edición de línea al estilo de emacs
errexit mismo que -e
errtrace mismo que -E
functrace mismo que -T
hashall mismo que -h
histexpand mismo que -H
historia habilitar el historial de órdenes
ignoreeof la cáscara no se cerrará con la lectura de EOF
interactivos-comentarios
permiten comentarios aparezcan en comandos interactivos
palabra clave mismo que -k
supervisar mismo que -m
noclobber mismo que -C
noexec mismo que -n
noglob mismo que -f
nolog actualmente aceptada pero ignorado
notificar mismo que -b
nounset mismo que -u
onecmd mismo que -t
físico mismo que -P
pipefail el valor de retorno de un oleoducto es el estado de
el último comando para salir con un estado distinto de cero,
o cero si no hay ningún comando salieron con un estado distinto de cero
POSIX cambiar el comportamiento de golpe cuando el incumplimiento
operación difiere del estándar POSIX para
coincida con el estándar
privilegiada mismo que -p
detallado mismo que -v
vi usar una interfaz de edición de línea de vi-estilo
xtrace mismo que -x
-p activa cuando los identificadores de usuario real y efectivo no coinciden.
Desactiva el procesamiento del archivo $ ENV y la importación de shell
funciones. Desactivar esta opción hace que el identificador de usuario efectivo y
gid que se establece en el uid real y gid.
Salir -t después de leer y ejecutar un comando.
-u Tratar variables no definidas como un error cuando se sustituye.
-v líneas de entrada Imprimir shell a medida que se leen.
Los comandos de impresión -x y sus argumentos a medida que se ejecutan.
-B La cáscara llevará a cabo la expansión de llaves
-C Si se establece, no permitir archivos regulares existentes a sobrescribir
por la redirección de salida.
-E Si se establece, la trampa ERR es heredado por las funciones del shell.
H Habilitar! sustitución del histórico estilo. Esta bandera está en
por defecto cuando el shell es interactivo.
P Si se establece, no resuelven los enlaces simbólicos al ejecutar comandos
como cd que cambiar el directorio actual.
-T Si se establece, la trampa DEBUG es heredado por las funciones del shell.
- Asignar los argumentos restantes a los parámetros posicionales.
Si no hay argumentos restantes, los parámetros posicionales
están sin definir.
- Asignar los argumentos restantes a los parámetros posicionales.
El -xy -v están apagados.
Usando + en lugar de - la causa de estas banderas para estar apagados. El
banderas también se pueden utilizar en una invocación de la cáscara. La corriente
conjunto de indicadores puede encontrarse en $ -. Las n ARG restantes son posicionales
parámetros y se asignan, en orden, a $ 1, $ 2, $ .. n. Si no hay
ARG se dan, se imprimen todas las variables de shell.
Estado de salida:
Devuelve el éxito a menos que se le da una opción no válida.
|
|
~ |
Write arguments to the standard output.
Display the ARGs, separated by a single space character and followed by a
newline, on the standard output.
Options:
-n do not append a newline
-e enable interpretation of the following backslash escapes
-E explicitly suppress interpretation of backslash escapes
`echo' interprets the following backslash-escaped characters:
\a alert (bell)
\b backspace
\c suppress further output
\e escape character
\E escape character
\f form feed
\n new line
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
\0nnn the character whose ASCII code is NNN (octal). NNN can be
0 to 3 octal digits
\xHH the eight-bit character whose value is HH (hexadecimal). HH
can be one or two hex digits
Exit Status:
Returns success unless a write error occurs.
|
|
2015-07-25 |
Escribe argumentos a la salida estándar.
Visualiza los ARGs, separados por un único carácter de espacio y seguido por un
nueva línea, en la salida estándar.
Opciones:
-n no añadir una nueva línea
-e permitir la interpretación de los siguientes escapes de barra invertida
-E suprimir explícitamente la interpretación de los escapes de barra invertida
«Echo» interpreta los siguientes caracteres escapados:
\ A alerta (campana)
\ B retroceso
\ c suprimir aún más la producción
\ E carácter de escape
\ E carácter de escape
\ F forma de alimentación
\ N nueva línea
\ R retorno de carro
\ T tabulador horizontal
\ V tabulador vertical
\\ barra invertida
\ 0NNN el carácter cuyo código ASCII es NNN (octal). NNN puede ser
0 a 3 dígitos octales
\ Xhh el carácter de ocho bits cuyo valor es HH (hexadecimal). HH
puede ser una o dos dígitos hexadecimales
Estado de salida:
Devuelve el éxito a menos que ocurra un error de escritura.
|
|
~ |
Set variable values and attributes.
Declare variables and give them attributes. If no NAMEs are given,
display the attributes and values of all variables.
Options:
-f restrict action or display to function names and definitions
-F restrict display to function names only (plus line number and
source file when debugging)
-g create global variables when used in a shell function; otherwise
ignored
-p display the attributes and value of each NAME
Options which set attributes:
-a to make NAMEs indexed arrays (if supported)
-A to make NAMEs associative arrays (if supported)
-i to make NAMEs have the `integer' attribute
-l to convert NAMEs to lower case on assignment
-n make NAME a reference to the variable named by its value
-r to make NAMEs readonly
-t to make NAMEs have the `trace' attribute
-u to convert NAMEs to upper case on assignment
-x to make NAMEs export
Using `+' instead of `-' turns off the given attribute.
Variables with the integer attribute have arithmetic evaluation (see
the `let' command) performed when the variable is assigned a value.
When used in a function, `declare' makes NAMEs local, as with the `local'
command. The `-g' option suppresses this behavior.
Exit Status:
Returns success unless an invalid option is supplied or a variable
assignment error occurs.
|
|
2015-07-19 |
Establezca los valores y atributos de variable.
Declarar variables y darles atributos. Si no se dan nombres,
mostrar los atributos y valores de todas las variables.
Opciones:
f restringir la acción o mostrar funcionar nombres y definiciones
-F restringir pantalla de nombres de función única (más número de línea y
archivo fuente al depurar)
-g crear variables globales cuando se utiliza en una función de shell; de lo contrario
ignorado
p mostrar los atributos y valor de cada NOMBRE
Opciones que establecen atributos:
-a para hacer arreglos NAMEs indexados (si es compatible)
-A para hacer NAMEs matrices asociativas (si es compatible)
-i para que los nombres tienen el atributo `entero '
-l para convertir los nombres de minúsculas en la asignación
-n NOMBRE hacer una referencia a la variable llamada por su valor
r para hacer NAMEs readonly
t para que los nombres tienen el atributo `trace '
-u para convertir los nombres en mayúsculas en la asignación
-x para hacer NAMEs exportación
Uso de «+» en lugar de « -» desactiva el atributo dado.
Las variables con el atributo entero tienen Evaluación aritmética (véase
la orden let) realiza cuando la variable se le asigna un valor.
Cuando se utiliza en una función, «declare» hace que los nombres locales, como con el «locales»
de comandos. La opción «-g» suprime este comportamiento.
Estado de salida:
Devuelve el éxito a menos que se suministra una opción no válida o una variable
se produce error de asignación.
|
|
~ |
Change the shell working directory.
Change the current directory to DIR. The default DIR is the value of the
HOME shell variable.
The variable CDPATH defines the search path for the directory containing
DIR. Alternative directory names in CDPATH are separated by a colon (:).
A null directory name is the same as the current directory. If DIR begins
with a slash (/), then CDPATH is not used.
If the directory is not found, and the shell option `cdable_vars' is set,
the word is assumed to be a variable name. If that variable has a value,
its value is used for DIR.
Options:
-L force symbolic links to be followed: resolve symbolic links in
DIR after processing instances of `..'
-P use the physical directory structure without following symbolic
links: resolve symbolic links in DIR before processing instances
of `..'
-e if the -P option is supplied, and the current working directory
cannot be determined successfully, exit with a non-zero status
-@ on systems that support it, present a file with extended attributes
as a directory containing the file attributes
The default is to follow symbolic links, as if `-L' were specified.
`..' is processed by removing the immediately previous pathname component
back to a slash or the beginning of DIR.
Exit Status:
Returns 0 if the directory is changed, and if $PWD is set successfully when
-P is used; non-zero otherwise.
|
|
2015-06-27 |
Cambia el directorio de trabajo del intérprete de órdenes.
Cambia el directorio actual a DIR. El DIR predeterminado es el valor de la
Variable HOME shell.
La variable CDPATH define la ruta de búsqueda para el directorio que contiene
DIR. Nombres de directorios alternativos en CDPATH están separados por dos puntos (:).
Un nombre de directorio nula es el mismo que el directorio actual. Si DIR comienza
con una barra (/), entonces no se utiliza CDPATH.
Si el directorio no se encuentra, y la opción de shell «cdable_vars »se establece,
la palabra se supone que es un nombre de variable. Si esa variable tiene un valor,
su valor se utiliza para el DIR.
Opciones:
L obligar a los enlaces simbólicos a seguir: resolver enlaces simbólicos en
DIR después de procesar los casos de «.. »
P utiliza la estructura de directorios física sin seguir simbólica
Enlaces: resuelven enlaces simbólicos en DIR ante las instancias de proceso
de «..»'
-e si se da la opción -P, y el directorio de trabajo actual
no se puede determinar con éxito, salir con un estado distinto de cero
- @ En los sistemas que lo soportan, presentar un archivo con atributos extendidos
como un directorio que contiene los atributos de archivo
El valor por defecto es seguir enlaces simbólicos, que si se especifica «L ».
«.. »Se procesa mediante la eliminación de la componente de nombre de ruta inmediatamente anterior
copia de una barra o el comienzo de DIR.
Estado de salida:
Devuelve 0 si se cambia el directorio, y si $ PWD se establece con éxito cuando
-P Se utiliza; no cero en caso contrario.
|
|
~ |
Remember or display program locations.
Determine and remember the full pathname of each command NAME. If
no arguments are given, information about remembered commands is displayed.
Options:
-d forget the remembered location of each NAME
-l display in a format that may be reused as input
-p pathname use PATHNAME as the full pathname of NAME
-r forget all remembered locations
-t print the remembered location of each NAME, preceding
each location with the corresponding NAME if multiple
NAMEs are given
Arguments:
NAME Each NAME is searched for in $PATH and added to the list
of remembered commands.
Exit Status:
Returns success unless NAME is not found or an invalid option is given.
|
|
2015-04-11 |
Recuerda o muestra de programa de visualización.
Determinar y recordar la ruta completa de cada nombre de la orden. Si
no se dan argumentos, se muestra información sobre las órdenes recordadas.
Opciones:
-d olvidar la ubicación recordado de cada NOMBRE
-l pantalla en un formato que pueda ser reutilizado como entrada
-p ruta uso PATHNAME como la ruta del NOMBRE
r olvidar todas las ubicaciones recordadas
t imprimir la ubicación recordado de cada NOMBRE, precediendo
cada lugar con el nombre correspondiente si múltiple
se les da nombres
Argumentos:
NOMBRE Cada nombre se busca en $ PATH y se añade a la lista
de órdenes recordadas.
Estado de salida:
Devuelve con éxito a menos nombre no se encuentra o se le da una opción no válida.
|
|
~ |
Set Readline key bindings and variables.
Bind a key sequence to a Readline function or a macro, or set a
Readline variable. The non-option argument syntax is equivalent to
that found in ~/.inputrc, but must be passed as a single argument:
e.g., bind '"\C-x\C-r": re-read-init-file'.
Options:
-m keymap Use KEYMAP as the keymap for the duration of this
command. Acceptable keymap names are emacs,
emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move,
vi-command, and vi-insert.
-l List names of functions.
-P List function names and bindings.
-p List functions and bindings in a form that can be
reused as input.
-S List key sequences that invoke macros and their values
-s List key sequences that invoke macros and their values
in a form that can be reused as input.
-V List variable names and values
-v List variable names and values in a form that can
be reused as input.
-q function-name Query about which keys invoke the named function.
-u function-name Unbind all keys which are bound to the named function.
-r keyseq Remove the binding for KEYSEQ.
-f filename Read key bindings from FILENAME.
-x keyseq:shell-command Cause SHELL-COMMAND to be executed when
KEYSEQ is entered.
-X List key sequences bound with -x and associated commands
in a form that can be reused as input.
Exit Status:
bind returns 0 unless an unrecognized option is given or an error occurs.
|
|
2015-04-11 |
Establecer Readline teclas y variables.
Enlazar una secuencia de teclas a una función Readline o una macro, o establecer un
Variable de Readline. La sintaxis de argumento no opción es equivalente a
la que se encuentra en ~ / .inputrc, pero debe pasar como un solo argumento:
por ejemplo, se unen '"\ Cx \ Cr": re-leer-init-file'.
Opciones:
-m mapa de teclado Use KEYMAP como el mapa de teclado durante la duración de este
de comandos. Nombres de mapas de teclas aceptables son emacs,
emacs-standard, emacs-meta, emacs-CTLX, vi, vi-movimiento,
vi-comando, y vi-inserción.
Lista de nombres -l de funciones.
P Lista de los nombres de funciones y encuadernaciones.
Funciones de lista -p y enlaces en una forma que pueda ser
reutilizados como entrada.
S Lista de secuencias de teclas que invocan macros y sus valores
secuencias de lista clave -s que invocan macros y sus valores
en una forma que puede ser reutilizado como entrada.
-V Lista nombres y valores de las variables
-v Enumere los nombres de variables y valores en un formulario que puede
ser reutilizados como entrada.
q nombre-función de consulta sobre las claves invocan la función llamada.
-u nombre-función Desatadlo todas las claves que están atados a la función llamada.
r sectecla Retire la unión para sectecla.
-fnombrearchivo Leer asociaciones de teclas de FILENAME.
-x sectecla: shell-command Causa SHELL-orden que se ejecutará cuando
se introduce sectecla.
-X Lista de secuencias de teclas unidas con comandos -x y asociados
en una forma que puede ser reutilizado como entrada.
Estado de salida:
retornos bind 0 a menos que se le da una opción no reconocida o se produce un error.
|
|
~ |
Unset values and attributes of shell variables and functions.
For each NAME, remove the corresponding variable or function.
Options:
-f treat each NAME as a shell function
-v treat each NAME as a shell variable
-n treat each NAME as a name reference and unset the variable itself
rather than the variable it references
Without options, unset first tries to unset a variable, and if that fails,
tries to unset a function.
Some variables cannot be unset; also see `readonly'.
Exit Status:
Returns success unless an invalid option is given or a NAME is read-only.
|
|
2015-01-17 | ||
~ |
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:
-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 newline from each line read.
-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.
|
|
2011-04-30 |
Lee líneas de la entrada estándar en una variable de matriz indexada.
Lee líneas de la entrada estándar en la variable de matriz indexada MATRIZ, o
del descriptor de fichero FD si la opción -u se suministra. La variable MAPFILE
es la MATRIZ predeterminado.
Opciones:
-n cuenta Copia a lo sumo CUENTA líneas. Si CUENTA es 0, todas las líneas se copian.
-O origen Comience asignando a ARRAY en el índice ORIGEN. El índice por defecto es 0.
-s cuenta Desecha las líneas primeras CUENTA líneas leídas.
-t Eliminar un salto de línea final de cada línea de leída.
-u fd Lee líneas desde el descriptor de archivo FD en lugar de la entrada estándar.
-C llamada Evalúa LLAMADA cada vez que QUANTUM líneas son leídas.
-c quantum Especifica el número de líneas leídas entre cada llamada a LLAMADA.
Argumentos:
MATRIZ Nombre de la variable de matriz para usar para datos de archivo.
Si -C se suministra sin -c, el quantum por defecto es 5000. Cuando
LLAMADA se evalúa, se suministra el índice del elemento siguiente
de la matriz que se asigna y la línea que se asignará a ese elemento
como argumentos adicionales.
Si no se suministra con un origen explícito, mapfile borrará MATRIZ antes
de asignar a la misma.
Estado de Salida:
Devuelve con éxito a menos que una opción no válida se da o MATRIZ es
solo de lectura o no es una matriz indexada.
|
|
~ |
typeset [-aAfFgilrtux] [-p] name[=value] ...
|
|
2011-02-24 |
typeset [-aAfFgilrtux] [-p] nombre[=valor] ...
|
|
~ |
Set variable values and attributes.
Obsolete. See `help declare'.
|
|
2009-08-25 |
Establece los valores de variable y atributos.
Obsoleto. Vea «help declare».
|
|
~ |
disown [-h] [-ar] [jobspec ...]
|
|
2009-08-25 |
disown [-h] [-ar] [jobspec ...]
|
|
~ |
false
|
|
2009-08-25 |
false
|
|
~ |
true
|
|
2009-08-25 |
true
|
|
1. |
bad array subscript
|
|
2009-11-05 |
subscript de matriz incorrecto
|
|
2007-08-22 |
subíndice de matriz incorrecto
|
|
3. |
%s: cannot convert indexed to associative array
|
|
2010-02-07 |
%s: no se puede convertir la matriz de indexada a asociativa
|
|
10. |
no closing `%c' in %s
|
|
2010-02-13 |
no hay un «%c» que cierre en %s
|
|
14. |
brace expansion: failed to allocate memory for `%s'
|
|
2015-01-17 |
expansión de llaves: no pudo asignar memoria para «%s»
|
|
20. |
`%s': unknown function name
|
|
2010-01-10 |
«%s»: nombre de función desconocido
|
|
23. |
loop count
|
|
2009-09-06 |
recuento de bucles
|
|
24. |
only meaningful in a `for', `while', or `until' loop
|
|
2010-02-13 |
sólo tiene significado en un ciclo «for», «while» o «until»
|
|
25. |
Returns the context of the current subroutine call.
Without EXPR, returns
|
|
2009-09-09 |
Devuelve el contexto de la llamada a subrutina actual.
Sin EXPR, devuelve
|
|
30. |
line %d:
|
|
2009-08-25 |
línea %d:
|
|
31. |
warning:
|
|
2009-08-25 |
aviso:
|
|
32. |
%s: usage:
|
|
2009-08-25 |
%s: uso:
|
|
39. |
invalid octal number
|
|
2009-08-25 |
número octal inválido
|
|
40. |
invalid hex number
|
|
2009-08-25 |
número hexadecimal invalido
|
|
55. |
error setting terminal attributes: %s
|
|
2009-08-25 |
error al configurar los atributos de terminal. %s
|
|
56. |
error getting terminal attributes: %s
|
|
2009-08-25 |
error al conseguir los atributos de terminal. %s
|
|
74. |
%s: cannot convert associative to indexed array
|
|
2009-10-05 |
%s: no puede convertir una matriz asociativa a una indexada
|
|
86. |
logout
|
|
2009-08-25 |
salir
|
|
89. |
There are running jobs.
|
|
2009-08-25 |
Hay trabajos ejecutándose.
|
|
93. |
current
|
|
2009-08-25 |
actual
|
|
99. |
hits command
|
|
2009-10-01 | ||
100. |
Shell commands matching keyword `
Shell commands matching keywords `
|
|
2009-08-25 |
Orden del intérprete correspondiente a la palabra clave `
Órdenes del intérprete correspondientes a las palabra clave `
|
|
103. |
These shell commands are defined internally. Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
|
|
2009-03-25 |
Estas órdenes de consola se encuentran definidas internamente. Ejecute «help» para ver una lista.
Escriba «help nombre» para saber más acerca de la función «nombre»
Use «info bash» para saber más acerca del intérprete de órdenes en general.
Use «man -k» o «info» para saber más acerca de otras órdenes no incluidas en esta lista.
Un asterisco (*) junto a un nombre indica que dicha orden está desactivada.
|
|
106. |
%s: invalid timestamp
|
|
2017-11-01 |
%s: marca de tiempo no válida
|
|
108. |
%s: inlib failed
|
|
2009-08-25 |
%s: inlib falló
|
|
113. |
%s: not an indexed array
|
|
2010-02-07 |
%s: no es una matriz indexada
|
|
116. |
%s: invalid line count
|
|
2009-09-06 |
%s: recuento de líneas no válido
|
|
120. |
array variable support required
|
|
2009-09-06 |
se necesita el soporte de variables de matriz
|
|
122. |
`%c': invalid time format specification
|
|
2011-04-14 |
«%c»: especificación de formato de tiempo inválida
|
|
124. |
warning: %s: %s
|
|
2009-08-25 |
aviso: %s: %s
|
|
162. |
limit
|
|
2009-08-25 |
límite
|
|
167. |
line
|
|
2009-08-25 |
línea
|
|
180. |
pipe error
|
|
2009-08-25 |
error de tubería
|