|
591.
|
|
|
Set and unset shell options.
Change the setting of each shell option OPTNAME. Without any option
arguments, list each supplied OPTNAME, or all shell options if no
OPTNAMEs are given, with an indication of whether or not each is set.
Options:
-o [tab] restrict OPTNAMEs to those defined for use with `set -o'
-p [tab] print each shell option with an indication of its status
-q [tab] suppress output
-s [tab] enable (set) each OPTNAME
-u [tab] disable (unset) each OPTNAME
Exit Status:
Returns success if OPTNAME is enabled; fails if an invalid option is
given or OPTNAME is disabled.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:1917
|
|
592.
|
|
|
Formats and prints ARGUMENTS under control of the FORMAT.
Options:
-v var [tab] assign the output to shell variable VAR rather than
[tab] [tab] 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 [tab] expand backslash escape sequences in the corresponding argument
%q [tab] quote the argument in a way that can be reused as shell input
%Q [tab] like %q, but apply any precision to the unquoted argument before
[tab] [tab] quoting
%(fmt)T [tab] output the date-time string resulting from using FMT as a format
[tab] 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.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:1938
|
|
593.
|
|
|
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 [tab] print existing completion specifications in a reusable format
-r [tab] remove a completion specification for each NAME, or, if no
[tab] [tab] NAMEs are supplied, all completion specifications
-D [tab] apply the completions and actions as the default for commands
[tab] [tab] without any specific completion defined
-E [tab] apply the completions and actions to "empty" commands --
[tab] [tab] completion attempted on a blank line
-I [tab] apply the completions and actions to the initial (usually the
[tab] [tab] command) word
When completion is attempted, the actions are applied in the order the
uppercase-letter options are listed above. If multiple options are supplied,
the -D option takes precedence over -E, and both take precedence over -I.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:1974
|
|
594.
|
|
|
Display possible completions depending on the options.
Intended to be used from within a shell function generating possible
completions. If the optional WORD argument is supplied, matches against
WORD are generated.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:2004
|
|
595.
|
|
|
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:
[tab] -o option [tab] Set completion option OPTION for each NAME
[tab] -D [tab] [tab] Change options for the "default" command completion
[tab] -E [tab] [tab] Change options for the "empty" command completion
[tab] -I [tab] [tab] Change options for completion on the initial word
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.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:2019
|
|
596.
|
|
|
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 [tab] Use DELIM to terminate lines, instead of newline
-n count [tab] Copy at most COUNT lines. If COUNT is 0, all lines are copied
-O origin [tab] Begin assigning to ARRAY at index ORIGIN. The default index is 0
-s count [tab] Discard the first COUNT lines read
-t [tab] Remove a trailing DELIM from each line read (default newline)
-u fd [tab] Read lines from file descriptor FD instead of the standard input
-C callback [tab] Evaluate CALLBACK each time QUANTUM lines are read
-c quantum [tab] Specify the number of lines read between each call to
[tab] [tab] [tab] CALLBACK
Arguments:
ARRAY [tab] 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.
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:2050
|
|
597.
|
|
|
Read lines from a file into an array variable.
A synonym for `mapfile'.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
builtins.c:2086
|