Translations by Jose Luis Tirado

Jose Luis Tirado has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

13 of 3 results
538.
Evaluate arithmetic expressions. Evaluate each ARG as an arithmetic expression. Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The following list of operators is grouped into levels of equal-precedence operators. The levels are listed in order of decreasing precedence. id++, id-- variable post-increment, post-decrement ++id, --id variable pre-increment, pre-decrement -, + unary minus, plus !, ~ logical and bitwise negation ** exponentiation *, /, % multiplication, division, remainder +, - addition, subtraction <<, >> left and right bitwise shifts <=, >=, <, > comparison ==, != equality, inequality & bitwise AND ^ bitwise XOR | bitwise OR && logical AND || logical OR expr ? expr : expr conditional operator =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= assignment Shell variables are allowed as operands. The name of the variable is replaced by its value (coerced to a fixed-width integer) within an expression. The variable need not have its integer attribute turned on to be used in an expression. Operators are evaluated in order of precedence. Sub-expressions in parentheses are evaluated first and may override the precedence rules above. Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise.
2012-07-03
Evaluar expresiones aritméticas. Evaluar cada ARG como una expresión aritmética. La evaluación se hace en enteros de anchura fija sin comprobación de desbordamientos, aunque las divisiones entre 0 se capturan y se notifican como un error. La siguiente lista de operadores se agrupa en niveles de operadores de igual- precedencia. Los niveles se listan en orden decreciente de precedencia. id++, id-- post-incremento, post-decremento de variable ++id, --id pre-incremento, pre-decremento de variable -, + menos, más unitarios !, ~ Y logico y negacion binaria ** exponenciación *, /, % multiplicación, división, resto +, - suma, resta <<, >> desplazamientos de bits a izquierda y derecha <=, >=, <, > comparación ==, != igualdad, desigualdad & Y binario ^ XOR binario | O binario && Y lógico || O lógico expr ? expr : expr operador condicional =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= asignación Se permiten variables del intérprete de órdenes como operandos. El nombre de la variable se reemplaza por su valor (forzado a un entero de anchura fija) dentro de la expresión. La variable necesita no tener su atributo entero activado para ser usada en una expresión. Los operadores se evalúan en orden de precedencia. Las sub-expresiones en paréntesis se evalúan primero y pueden sobreescribir las reglas de precedencia anteriores. Estado de salida: Si el último ARG se evalúa a 0, devuelve 1; devuelve 0 en otro caso.
551.
Trap signals and other events. Defines and activates handlers to be run when the shell receives signals or other conditions. ARG is a command to be read and executed when the shell receives the signal(s) SIGNAL_SPEC. If ARG is absent (and a single SIGNAL_SPEC is supplied) or `-', each specified signal is reset to its original value. If ARG is the null string each SIGNAL_SPEC is ignored by the shell and by the commands it invokes. If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. If a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. If a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or a script run by the . or source builtins finishes executing. A SIGNAL_SPEC of ERR means to execute ARG each time a command's failure would cause the shell to exit when the -e option is enabled. If no arguments are supplied, trap prints the list of commands associated with each signal. Options: -l print a list of signal names and their corresponding numbers -p display the trap commands associated with each SIGNAL_SPEC Each SIGNAL_SPEC is either a signal name in <signal.h> or a signal number. Signal names are case insensitive and the SIG prefix is optional. A signal may be sent to the shell with "kill -signal $$". Exit Status: Returns success unless a SIGSPEC is invalid or an invalid option is given.
2012-07-06
Atrapar señales y otros eventos. Define y activa manejadores para ejecutarse cuando el intérprete de órdenes reciba señales u otras condiciones. ARG es un comando a leer y ejecutar cuando el intérprete de órdenes recibe la señal(es) SIGNAL_SPEC. Si ARG no existe (y se indica una sola SIGNAL_SPEC) o es «-», cada señal especificada se reinicia a su valor original. Si ARG es una cadena nula el intérprete de órdenes y los comandos invocados ignoran todos los SIGNAL_SPEC. Si una SIGNAL_SPEC es EXIT (0) se ejecuta ARG a la salida del intérprete de órdenes. Si una SIGNAL_SPEC es DEBUG, se ejecuta ARG antes de cada comando. Si una SIGNAL_SPEC es RETURN, se ejecuta ARG cada vez que el . invoca a una función del intérprete de órdenes o un guión (script) o el código fuente integrado finaliza la ejecución. Una SIGNAL_SPEC de ERR significa ejecutar ARG cada vez que el fallo de un comando habría causado la salida del intérprete de órdenes cuando la opción -e está activa. Si no se indican argumentos, «trap» imprime la lista de comandos asociados con cada señal. Opciones: -l imprimir la lista de los nombres de señal y sus correspondientes números -p mostrar los comandos trap asociados con cada SIGNAL_SPEC Cada SIGNAL_SPEC es, o bien un nombre de señal en <signal.h>, o un número de señal. Para los nombres de señal no se distingue entre mayúsculas y minúsculas y el prefijo SIG es opcional. Se puede enviar una señal al intérprete de órdenes con «kill -signal $$». Estado de salida: Devuelve éxito a menos que una SIGSPEC no sea válida o se indique una opción no válida.
579.
Modify or display completion options. Modify the completion options for each NAME, or, if no NAMEs are supplied, the completion currently being executed. If no OPTIONs are given, print the completion options for each NAME or the current completion specification. Options: -o option Set completion option OPTION for each NAME -D Change options for the "default" command completion -E Change options for the "empty" command completion Using `+o' instead of `-o' turns off the specified option. Arguments: Each NAME refers to a command for which a completion specification must have previously been defined using the `complete' builtin. If no NAMEs are supplied, compopt must be called by a function currently generating completions, and the options for that currently-executing completion generator are modified. Exit Status: Returns success unless an invalid option is supplied or NAME does not have a completion specification defined.
2012-07-05
Modificar o mostrar las opciones de terminación. Modificar las opciones de terminación para cada NOMBRE, o, si no se indican NOMBREs, de la terminación que se está ejecutando actualmente. Si no se indican OPCIONes, imprime la lista de opciones de finalización para cada NOMBRE o la especificación de terminación actual. Opciones: -o opción Establecer opción de terminación OPCIÓN para cada NOMBRE -D Cambiar opciones por el comando de terminación «predeterminado» -E Cambiar opciones por el comando de terminación «vacío» Usando «+» en lugar de «-» se desactiva el atributo indicado. Argumentos: Cada NOMBRE se refiere a un comando para el cual se debe haber definido previamente una especifición de terminación usando el «complete» integrado. Si no se proporcionan NOMBREs, se debe invocar a «compopt» por una función que esté generando actualmente las terminaciones, y se modifican las opciones para ese generador de terminadores actualmente en ejecución. Estado de salida: Devuelve éxito a menos que se indique una opción no válida o NOMBRE no tenga una especificación de terminación definida.