📄 bash.pot
字号:
msgid """Change the shell working directory.\n"" \n"" Change the current directory to DIR. The default DIR is the value of ""the\n"" HOME shell variable.\n"" \n"" The variable CDPATH defines the search path for the directory ""containing\n"" DIR. Alternative directory names in CDPATH are separated by a colon ""(:).\n"" A null directory name is the same as the current directory. If DIR ""begins\n"" with a slash (/), then CDPATH is not used.\n"" \n"" If the directory is not found, and the shell option `cdable_vars' is ""set,\n"" the word is assumed to be a variable name. If that variable has a ""value,\n"" its value is used for DIR.\n"" \n"" Options:\n"" -L\tforce symbolic links to be followed\n"" -P\tuse the physical directory structure without following symbolic\n"" \tlinks\n"" -e\tif the -P option is supplied, and the current working directory\n"" \tcannot be determined successfully, exit with a non-zero status\n"" \n"" The default is to follow symbolic links, as if `-L' were specified.\n"" \n"" Exit Status:\n"" Returns 0 if the directory is changed, and if $PWD is set successfully ""when\n"" -P is used; non-zero otherwise."msgstr ""#: builtins.c:414msgid """Print the name of the current working directory.\n"" \n"" Options:\n"" -L\tprint the value of $PWD if it names the current working\n"" \tdirectory\n"" -P\tprint the physical directory, without any symbolic links\n"" \n"" By default, `pwd' behaves as if `-L' were specified.\n"" \n"" Exit Status:\n"" Returns 0 unless an invalid option is given or the current directory\n"" cannot be read."msgstr ""#: builtins.c:431msgid """Null command.\n"" \n"" No effect; the command does nothing.\n"" \n"" Exit Status:\n"" Always succeeds."msgstr ""#: builtins.c:442msgid """Return a successful result.\n"" \n"" Exit Status:\n"" Always succeeds."msgstr ""#: builtins.c:451msgid """Return an unsuccessful result.\n"" \n"" Exit Status:\n"" Always fails."msgstr ""#: builtins.c:460msgid """Execute a simple command or display information about commands.\n"" \n"" Runs COMMAND with ARGS suppressing shell function lookup, or display\n"" information about the specified COMMANDs. Can be used to invoke ""commands\n"" on disk when a function with the same name exists.\n"" \n"" Options:\n"" -p\tuse a default value for PATH that is guaranteed to find all of\n"" \tthe standard utilities\n"" -v\tprint a description of COMMAND similar to the `type' builtin\n"" -V\tprint a more verbose description of each COMMAND\n"" \n"" Exit Status:\n"" Returns exit status of COMMAND, or failure if COMMAND is not found."msgstr ""#: builtins.c:479msgid """Set variable values and attributes.\n"" \n"" Declare variables and give them attributes. If no NAMEs are given,\n"" display the attributes and values of all variables.\n"" \n"" Options:\n"" -f\trestrict action or display to function names and definitions\n"" -F\trestrict display to function names only (plus line number and\n"" \tsource file when debugging)\n"" -g\tcreate global variables when used in a shell function; otherwise\n"" \tignored\n"" -p\tdisplay the attributes and value of each NAME\n"" \n"" Options which set attributes:\n"" -a\tto make NAMEs indexed arrays (if supported)\n"" -A\tto make NAMEs associative arrays (if supported)\n"" -i\tto make NAMEs have the `integer' attribute\n"" -l\tto convert NAMEs to lower case on assignment\n"" -r\tto make NAMEs readonly\n"" -t\tto make NAMEs have the `trace' attribute\n"" -u\tto convert NAMEs to upper case on assignment\n"" -x\tto make NAMEs export\n"" \n"" Using `+' instead of `-' turns off the given attribute.\n"" \n"" Variables with the integer attribute have arithmetic evaluation (see\n"" the `let' command) performed when the variable is assigned a value.\n"" \n"" When used in a function, `declare' makes NAMEs local, as with the ""`local'\n"" command. The `-g' option suppresses this behavior.\n"" \n"" Exit Status:\n"" Returns success unless an invalid option is supplied or an error occurs."msgstr ""#: builtins.c:517msgid """Set variable values and attributes.\n"" \n"" Obsolete. See `help declare'."msgstr ""#: builtins.c:525msgid """Define local variables.\n"" \n"" Create a local variable called NAME, and give it VALUE. OPTION can\n"" be any option accepted by `declare'.\n"" \n"" Local variables can only be used within a function; they are visible\n"" only to the function where they are defined and its children.\n"" \n"" Exit Status:\n"" Returns success unless an invalid option is supplied, an error occurs,\n"" or the shell is not executing a function."msgstr ""#: builtins.c:542msgid """Write arguments to the standard output.\n"" \n"" Display the ARGs on the standard output followed by a newline.\n"" \n"" Options:\n"" -n\tdo not append a newline\n"" -e\tenable interpretation of the following backslash escapes\n"" -E\texplicitly suppress interpretation of backslash escapes\n"" \n"" `echo' interprets the following backslash-escaped characters:\n"" \\a\talert (bell)\n"" \\b\tbackspace\n"" \\c\tsuppress further output\n"" \\e\tescape character\n"" \\f\tform feed\n"" \\n\tnew line\n"" \\r\tcarriage return\n"" \\t\thorizontal tab\n"" \\v\tvertical tab\n"" \\\\\tbackslash\n"" \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n"" \t0 to 3 octal digits\n"" \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n"" \tcan be one or two hex digits\n"" \n"" Exit Status:\n"" Returns success unless a write error occurs."msgstr ""#: builtins.c:576msgid """Write arguments to the standard output.\n"" \n"" Display the ARGs on the standard output followed by a newline.\n"" \n"" Options:\n"" -n\tdo not append a newline\n"" \n"" Exit Status:\n"" Returns success unless a write error occurs."msgstr ""#: builtins.c:591msgid """Enable and disable shell builtins.\n"" \n"" Enables and disables builtin shell commands. Disabling allows you to\n"" execute a disk command which has the same name as a shell builtin\n"" without using a full pathname.\n"" \n"" Options:\n"" -a\tprint a list of builtins showing whether or not each is enabled\n"" -n\tdisable each NAME or display a list of disabled builtins\n"" -p\tprint the list of builtins in a reusable format\n"" -s\tprint only the names of Posix `special' builtins\n"" \n"" Options controlling dynamic loading:\n"" -f\tLoad builtin NAME from shared object FILENAME\n"" -d\tRemove a builtin loaded with -f\n"" \n"" Without options, each NAME is enabled.\n"" \n"" To use the `test' found in $PATH instead of the shell builtin\n"" version, type `enable -n test'.\n"" \n"" Exit Status:\n"" Returns success unless NAME is not a shell builtin or an error occurs."msgstr ""#: builtins.c:619msgid """Execute arguments as a shell command.\n"" \n"" Combine ARGs into a single string, use the result as input to the ""shell,\n"" and execute the resulting commands.\n"" \n"" Exit Status:\n"" Returns exit status of command or success if command is null."msgstr ""#: builtins.c:631msgid """Parse option arguments.\n"" \n"" Getopts is used by shell procedures to parse positional parameters\n"" as options.\n"" \n"" OPTSTRING contains the option letters to be recognized; if a letter\n"" is followed by a colon, the option is expected to have an argument,\n"" which should be separated from it by white space.\n"" \n"" Each time it is invoked, getopts will place the next option in the\n"" shell variable $name, initializing name if it does not exist, and\n"" the index of the next argument to be processed into the shell\n"" variable OPTIND. OPTIND is initialized to 1 each time the shell or\n"" a shell script is invoked. When an option requires an argument,\n"" getopts places that argument into the shell variable OPTARG.\n"" \n"" getopts reports errors in one of two ways. If the first character\n"" of OPTSTRING is a colon, getopts uses silent error reporting. In\n"" this mode, no error messages are printed. If an invalid option is\n"" seen, getopts places the option character found into OPTARG. If a\n"" required argument is not found, getopts places a ':' into NAME and\n"" sets OPTARG to the option character found. If getopts is not in\n"" silent mode, and an invalid option is seen, getopts places '?' into\n"" NAME and unsets OPTARG. If a required argument is not found, a '?'\n"" is placed in NAME, OPTARG is unset, and a diagnostic message is\n"" printed.\n"" \n"" If the shell variable OPTERR has the value 0, getopts disables the\n"" printing of error messages, even if the first character of\n"" OPTSTRING is not a colon. OPTERR has the value 1 by default.\n"" \n"" Getopts normally parses the positional parameters ($0 - $9), but if\n"" more arguments are given, they are parsed instead.\n"" \n"" Exit Status:\n"" Returns success if an option is found; fails if the end of options is\n"" encountered or an error occurs."msgstr ""#: builtins.c:673msgid """Replace the shell with the given command.\n"" \n"" Execute COMMAND, replacing this shell with the specified program.\n"" ARGUMENTS become the arguments to COMMAND. If COMMAND is not ""specified,\n"" any redirections take effect in the current shell.\n"" \n"" Options:\n"" -a name\tpass NAME as the zeroth argument to COMMAND\n"" -c\t\texecute COMMAND with an empty environment\n"" -l\t\tplace a dash in the zeroth argument to COMMAND\n"" \n"" If the command cannot be executed, a non-interactive shell exits, ""unless\n"" the shell option `execfail' is set.\n"" \n"" Exit Status:\n"" Returns success unless COMMAND is not found or a redirection error ""occurs."msgstr ""#: builtins.c:694msgid """Exit the shell.\n"" \n"" Exits the shell with a status of N. If N is omitted, the exit status\n"" is that of the last command executed."msgstr ""#: builtins.c:703msgid """Exit a login shell.\n"" \n"" Exits a login shell with exit status N. Returns an error if not ""executed\n"" in a login shell."msgstr ""#: builtins.c:713msgid """Display or execute commands from the history list.\n"" \n"" fc is used to list or edit and re-execute commands from the history ""list.\n"" FIRST and LAST can be numbers specifying the range, or FIRST can be a\n"" string, which means the most recent command beginning with that\n"" string.\n"" \n"" Options:\n"" -e ENAME\tselect which editor to use. Default is FCEDIT, then ""EDITOR,\n"" \t\tthen vi\n"" -l \tlist lines instead of editing\n"" -n\tomit line numbers when listing\n"" -r\treverse the order of the lines (newest listed first)\n"" \n"" With the `fc -s [pat=rep ...] [command]' format, COMMAND is\n"" re-executed after the substitution OLD=NEW is performed.\n"" \n"" A useful alias to use with this is r='fc -s', so that typing `r cc'\n"" runs the last command beginning with `cc' and typing `r' re-executes\n"" the last command.\n"" \n"" Exit Status:\n"" Returns success or status of executed command; non-zero if an error ""occurs."msgstr ""#: builtins.c:743msgid """Move job to the foreground.\n"" \n"" Place the job identified by JOB_SPEC in the foreground, making it the\n"" current job. If JOB_SPEC is not present, the shell's notion of the\n"" current job is used.\n"" \n"" Exit Status:\n"" Status of command placed in foreground, or failure if an error occurs."msgstr ""#: builtins.c:758msgid """Move jobs to the background.\n"" \n"" Place the jobs identified by each JOB_SPEC in the background, as if ""they\n"" had been started with `&'. If JOB_SPEC is not present, the shell's ""notion\n"" of the current job is used.\n"" \n"" Exit Status:\n"" Returns success unless job control is not enabled or an error occurs."msgstr ""#: builtins.c:772msgid """Remember or display program locations.\n"" \n"" Determine and remember the full pathname of each command NAME. If\n"" no arguments are given, information about remembered commands is ""displayed.\n"" \n"" Options:\n"" -d\t\tforget the remembered location of each NAME\n"" -l\t\tdisplay in a format that may be reused as input\n"" -p pathname\tuse PATHNAME is the full pathname of NAME\n"" -r\t\tforget all remembered locations\n"" -t\t\tprint the remembered location of each NAME, preceding\n"" \t\teach location with the corresponding NAME if multiple\n"" \t\tNAMEs are given\n"" Arguments:\n"" NAME\t\tEach NAME is searched for in $PATH and added to the list\n"" \t\tof remembered commands.\n"" \n"" Exit Status:\n"" Returns success unless NAME is not found or an invalid option is given."msgstr ""#: builtins.c:797msgid """Display information about builtin commands.\n"" \n"" Displays brief summaries of builtin commands. If PATTERN is\n"" specified, gives detailed help on all commands matching PATTERN,\n"" otherwise the list of help topics is printed.\n"" \n"" Options:\n"" -d\toutput short description for each topic\n"" -m\tdisplay usage in pseudo-manpage format\n"" -s\toutput only a short usage synopsis for each topic matching\n"" \tPATTERN\n"" \n"" Arguments:\n"" PATTERN\tPattern specifiying a help topic\n"" \n"" Exit Status:\n"" Returns success unless PATTERN is not found or an invalid option is ""given."msgstr ""#: builtins.c:821msgid """Display or manipulate the history list.\n"" \n"" Display the history list with line numbers, prefixing each modified\n"" entry with a `*'. An argument of N lists only the last N entries.\n"" \n"" Options:\n"" -c\tclear the history list by deleting all of the entries\n"" -d offset\tdelete the history entry at offset OFFSET.\n"" \n"" -a\tappend history lines from this session to the history file\n"" -n\tread all history lines not already read from the history file\n"" -r\tread the history file and append the contents to the history\n"" \tlist\n"" -w\twrite the current history to the history file\n"" \tand append them to the history list\n"" \n"" -p\tperform history expansion on each ARG and display the result\n"" \twithout storing it in the history list\n"" -s\tappend the ARGs to the history list as a single entry\n"" \n"" If FILENAME is given, it is used as the history file. Otherwise,\n"" if $HISTFILE has a value, that is used, else ~/.bash_history.\n"" \n"" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n"" as a format string for strftime(3) to print the time stamp associated\n"" with each displayed history entry. No time stamps are printed ""otherwise.\n"" \n"" Exit Status:\n"" Returns success unless an invalid option is given or an error occurs."msgstr ""#: builtins.c:857msgid """Display status of jobs.\n"" \n"" Lists the active jobs. JOBSPEC restricts output to that job.\n"" Without options, the status of all active jobs is displayed.\n"" \n"" Options:\n"" -l\tlists process IDs in addition to the normal information\n"" -n\tlist only processes that have changed status since the last\n"" \tnotification\n"" -p\tlists process IDs only\n"" -r\trestrict output to running jobs\n"" -s\trestrict output to stopped jobs\n"" \n"" If -x is supplied, COMMAND is run after all job specifications that\n"" appear in ARGS have been replaced with the process ID of that job's\n"" process group leader.\n"" \n"" Exit Status:\n"" Returns success unless an invalid option is given or an error occurs.\n"" If -x is used, returns the exit status of COMMAND."msgstr ""#: builtins.c:884msgid """Remove jobs from current shell.\n"" \n"" Removes each JOBSPEC argument from the table of active jobs. Without\n"" any JOBSPECs, the shell uses its notion of the current job.\n"" \n"" Options:\n"" -a\tremove all jobs if JOBSPEC is not supplied\n"" -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n"" \tshell receives a SIGHUP\n"" -r\tremove only running jobs\n"" \n"" Exit Status:\n"" Returns success unless an invalid option or JOBSPEC is given."msgstr ""#: builtins.c:903msgid """Send a signal to a job.\n"" \n"" Send the processes identified by PID or JOBSPEC the signal named by\n"" SIGSPEC or SIGNUM. If neither SIGSPEC nor SIGNUM is present, then\n"" SIGTERM is assumed.\n"" \n"" Options:\n"" -s sig\tSIG is a signal name\n"" -n sig\tSIG is a signal number\n"" -l\tlist the signal names; if arguments follow `-l' they are\n"" \tassumed to be signal numbers for which names should be listed\n"" \n"" Kill is a shell builtin for two reasons: it allows job IDs to be used\n"" instead of process IDs, and allows processes to be killed if the limit\n"" on processes that you can create is reached.\n"" \n"" Exit Status:\n"" Returns success unless an invalid option is given or an error occurs."msgstr ""#: builtins.c:926msgid """Evaluate arithmetic expressions.\n"" \n"" Evaluate each ARG as an arithmetic expression. Evaluation is done in\n"" fixed-width integers with no check for overflow, though division by 0\n"" is trapped and flagged as an error. The following list of operators is\n"" grouped into levels of equal-precedence operators. The levels are ""listed\n"" in order of decreasing precedence.\n"" \n"" \tid++, id--\tvariable post-increment, post-decrement\n"" \t++id, --id\tvariable pre-increment, pre-decrement\n"" \t-, +\t\tunary minus, plus\n"" \t!, ~\t\tlogical and bitwise negation\n"" \t**\t\texponentiation\n"" \t*, /, %\t\tmultiplication, division, remainder\n"" \t+, -\t\taddition, subtraction\n"" \t<<, >>\t\tleft and right bitwise shifts\n"" \t<=, >=, <, >\tcomparison\n"" \t==, !=\t\tequality, inequality\n"" \t&\t\tbitwise AND\n"" \t^\t\tbitwise XOR\n"" \t|\t\tbitwise OR\n"" \t&&\t\tlogical AND\n"" \t||\t\tlogical OR\n"" \texpr ? expr : expr\n"" \t\t\tconditional operator\n"" \t=, *=, /=, %=,\n"" \t+=, -=, <<=, >>=,\n"" \t&=, ^=, |=\tassignment\n"" \n"" Shell variables are allowed as operands. The name of the variable\n"" is replaced by its value (coerced to a fixed-width integer) within\n"" an expression. The variable need not have its integer attribute\n"" turned on to be used in an expression.\n"" \n"" Operators are evaluated in order of precedence. Sub-expressions in\n"" parentheses are evaluated first and may override the precedence\n"" rules above.\n"" \n"" Exit Status:\n"" If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise."msgstr ""#: builtins.c:971msgid """Read a line from the standard input and split it into fields.\n"" \n"" Reads a single line from the standard input, or from file descriptor FD\n"" if the -u option is supplied. The line is split into fields as with ""word\n"" splitting, and the first word is assigned to the first NAME, the second\n"" word to the second NAME, and so on, with any leftover words assigned to\n"" the last NAME. Only the characters found in $IFS are recognized as ""word\n"" delimiters.\n"" \n"" If no NAMEs are supplied, the line read is stored in the REPLY ""variable.\n"" \n"" Options:\n"" -a ar
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -