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.
554. |
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 and RETURN traps are 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.
|
|
2018-02-17 |
Asigna o desasigna valores de opciones del intérprete de órdenes y parámetros de posición.
Cambia el valor de los atributos del intérprete y parámetros de posición, o
muestra los nombres y valores de variables del intérprete.
Opciones:
-a Marca variables que están modificadas o se crearon para exportar.
-b Notificar de la finalización de un trabajo inmediatamente.
-e Salir inmediatamente si existe un comando con estado distinto de cero.
-f Desactivar la generación de nombres de archivo (globbing).
-h Recordar la ubicación de comandos mientras se buscan.
-k Todos los argumentos de tareas se sitúan en el entorno para un
comando, no solo los que preceden el nombre del comando.
-m Se activa el control de trabajos.
-n Leer los comandos sin ejecutarlos.
-o nombre-de-opción
Define la variable que corresponde al nombre-de-opción:
allexport igual a -a
braceexpand igual a -B
emacs usar una interfaz de edición de línea al estilo de emacs
errexit igual a -e
errtrace igual a -E
functrace igual a -T
hashall igual a -h
histexpand igual a -H
history activar el historial de órdenes
ignoreeof el intérprete no saldrá tras leer el final del archivo
interactive-comments
permite que aparezcan comentarios en órdenes interactivas
keyword igual a -k
monitor igual a -m
noclobber igual a -C
noexec igual a -n
noglob igual a -f
nolog aceptado actualmente pero ignorado
notify igual a -b
nounset igual a -u
onecmd igual a -t
physical igual a -P
pipefail el valor de retorno de una línea de ensamblaje es el estado
de la última orden que salió con un estado distinto de cero,
o cero si ningún comando salió con un estado distinto de cero
posix cambia el comportamiento de bash donde la operación
predeterminada difiere del estándar de Posix para seguir
el estándar
privileged igual a -p
verbose igual a -v
vi usar una interfaz de edición de línea al estilo de vi
xtrace igual a -x
-p Encendido cada vez que los ids de usuario efectivo y real no coinciden.
Desactiva el procesado del archivo $ENV y la importación de funciones
del intérprete. Apagar esta opción hace que los uid y gid efectivos se
establezcan en el uid y gid real.
-t Salir después de leer y ejecutar un comando.
-u Tratar las variables no asignadas como un error al sustituir.
-v Imprimir las líneas de entrada del intérprete mientras se leen.
-x Imprimir comandos y sus argumentos mientras se ejecutan.
-B el intérprete realizará una expansión de refuerzo
-C Establecido, no permite la sobrescritura de archivos normales existentes,
para ello, se redirecciona la salida.
-E Establecido, la trampa ERR se hereda por las funciones del intérprete.
-H Activa ! la sustitución de la historia de estilo. Este indicador está activo
por defecto cuando el intérprete es interactivo.
-P Establecido, no resuelve enlaces simbólicos al ejecutar comandos
tales como cd el cual cambia el directorio actual.
-T Establecido, las trampas DEBUG y RETURN se heredan por funciones del intérprete.
-- Asignar cualquier argumento restante a los parámetros de posición.
Si no hay argumentos restantes, los parámetros de posición
se desasignan.
- Asignar cualquier argumento restante a los parámetros de posición.
Se apagan las opciones -x y -v.
Usar + en vez de - hace que estos indicadores de apaguen. Los
indicadores también se pueden usar tras llamar al intérprete. Los indicadores
establecidos actualmente se pueden encontrar en $-. Los n ARGs restantes son parámetros
de posición y se asignan, en orden, a $1, $2, .. $n. Si no se
dan ARG, se imprimen todas las variables del intérprete.
Estado de salida:
Devuelve éxito a menos que se proporcione una opción no válida.
|
|
569. |
Wait for process completion and return exit status.
Waits for each process specified by a PID and reports its termination status.
If PID is not given, waits for all currently active child processes,
and the return status is zero. PID must be a process ID.
Exit Status:
Returns the status of the last PID; fails if PID is invalid or an invalid
option is given.
|
|
2016-11-27 |
Esperar a la finalización del proceso y devolver el código de salida.
Espera a cada proceso especificado por un PID y reporta su estado de terminación.
Si no se da PID, espera a todos los procesos hijo activos actualmente,
y el estado de retorno es cero. PID debe ser un ID de proceso.
Estado de salida:
Devuelve el estado de la última PID; falla si PID no es válido
o se da una opción no válida.
|
|
594. |
Read lines from a file into an array variable.
A synonym for `mapfile'.
|
|
2009-08-25 |
Lee líneas de un archivo dentro de una variable de matriz.
Un sinónimo para «mapfile».
|