|
468.
|
|
|
compopt [-o|+o option] [-DE] [name ...]
|
|
|
|
compopt [-o|+o TÙY-CHỌN] [-DE] [TÊN …]
|
|
Translated by
Trần Ngọc Quân
|
|
|
|
Located in
builtins.c:239
|
|
469.
|
|
|
mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]
|
|
|
|
mapfile [-n đếm] [-O gốc] [-s đếm] [-t] [-u fd] [-C gọi_ngược] [-c lượng] [mảng]
|
|
Translated by
Clytie Siddall
|
|
|
|
Located in
builtins.c:240
|
|
470.
|
|
|
readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]
|
|
|
|
readarray [-n ĐẾM] [-O GỐC] [-s SỐ-LƯỢNG] [-t] [-u FD] [-C GỌI-NGƯỢC] [-c LƯỢNG] [MẢNG]
|
|
Translated by
Trần Ngọc Quân
|
|
|
|
Located in
builtins.c:244
|
|
471.
|
|
|
Define or display aliases.
Without arguments, `alias' prints the list of aliases in the reusable
form `alias NAME=VALUE' on standard output.
Otherwise, an alias is defined for each NAME whose VALUE is given.
A trailing space in VALUE causes the next word to be checked for
alias substitution when the alias is expanded.
Options:
-p [tab] Print all defined aliases in a reusable format
Exit Status:
alias returns true unless a NAME is supplied for which no alias has been
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.
|
|
|
|
Xác định hoặc hiển thị bí danh.
[tab] Không đưa ra đối số thì « alias » in ra danh sách các bí danh
[tab] theo định dạng có thể dùng lại được « bí_danh TÊN=GIÁ_TRỊ »
[tab] trên đầu ra tiêu chuẩn.
[tab] Có đối số thì một bí danh được xác định cho mỗi TÊN có giá trị đưa ra.
[tab] Một dấu cách theo sau trong GIÁ_TRỊ thì gây ra từ kế tiếp được kiểm tra
[tab] có bí danh được thay thế khi bí danh được mở rộng.
[tab] Tùy chọn:
[tab] [tab] -p [tab] in ra tất cả các bí danh đã xác định theo một định dạng
[tab] [tab] [tab] có thể dùng lại được
[tab] Trạng thái thoát:
[tab] bí danh trả lại Đúng nếu không đưa ra TÊN chưa có bí danh được xác định.
|
|
Translated by
Clytie Siddall
|
|
|
|
Located in
builtins.c:254
|
|
472.
|
|
|
Remove each NAME from the list of defined aliases.
Options:
-a [tab] remove all alias definitions.
Return success unless a NAME is not an existing alias.
|
|
|
[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.
|
|
|
|
Gỡ bỏ mỗi TÊN khỏi danh sách các bí danh đã xác định.
[tab] Tùy chọn:
[tab] [tab] -a [tab] gỡ bỏ tất cả các lời xác định bí danh.
![](/@@/translation-newline)
Trả lại thành công nếu không có TÊN là một bí danh không tồn tại.
|
|
Translated by
Clytie Siddall
|
|
|
|
Located in
builtins.c:276
|
|
473.
|
|
|
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 [tab] Cause SHELL-COMMAND to be executed when
[tab] [tab] [tab] [tab] KEYSEQ is entered.
Exit Status:
bind returns 0 unless an unrecognized option is given 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.
|
|
|
|
Đặt các tổ hợp phím và biến kiểu Readline.
[tab] Tổ hợp một dãy phím với một chức năng hay vĩ lệnh kiểu Readline,
[tab] [tab] hoặc đặt một biến Readline.
[tab] Cú pháp đối số khác tùy chọn cũng tương đương với cú pháp
[tab] [tab] trong « ~/.inputrc », nhưng phải được gửi dưới dạng
[tab] [tab] một đối số riêng lẻ.
[tab] [tab] Ví dụ : bind '"\C-x\C-r": re-read-init-file'.
[tab] Tùy chọn:
[tab] [tab] -m sơ_đồ_phím [tab] dùng sơ đồ phím này làm sơ đồ phím
[tab] [tab] [tab] trong khoảng thời gian chạy câu lệnh này.
[tab] [tab] Tên sơ đồ phím hợp lệ:
[tab] [tab] [tab] emacs, emacs-standard, emacs-meta,
[tab] [tab] [tab] emacs-ctlx, vi, vi-move, vi-command,
[tab] [tab] [tab] vi-insert
[tab] [tab] -l [tab] liệt kê các tên chức năng
[tab] [tab] -P [tab] liệt kê các tên và tổ hợp của chức năng
[tab] [tab] -p [tab] liệt kê các chức năng và tổ hợp theo một định dạng
[tab] [tab] [tab] có thể dùng lại được làm dữ liệu nhập vào
[tab] [tab] -S [tab] liệt kê các dãy phím mà gọi vĩ lệnh và giá trị tương ứng
[tab] [tab] -S [tab] liệt kê các dãy phím mà gọi vĩ lệnh và giá trị tương ứng
[tab] [tab] [tab] theo một định dạng có thể dùng lại được
[tab] [tab] [tab] làm dữ liệu nhập vào
[tab] [tab] -q tên_chức_năng [tab] hỏi những phím nào gọi chức năng này
[tab] [tab] -u tên_chức_năng [tab] tháo tổ hợp tất cả các phím tổ hợp
[tab] [tab] [tab] với chức năng này
[tab] [tab] -r dãy_phím [tab] gỡ bỏ tổ hợp đối với dãy phím này
[tab] [tab] -f tên_tập_tin [tab] đọc các tổ hợp phím từ tập tin này
[tab] [tab] -x dãy_phím:lệnh_trình_bao [tab] chạy câu lệnh trình bào này
[tab] [tab] [tab] khi dãy phím này được nhập vào
[tab] Trạng thái thoát:
[tab] bind trả lại 0 nếu không đưa ra tùy chọn không nhận ra hay gặp lỗi.
|
|
Translated by
Clytie Siddall
|
|
|
|
Located in
builtins.c:289
|
|
474.
|
|
|
Exit for, while, or until loops.
Exit a FOR, WHILE or UNTIL loop. If N is specified, break N enclosing
loops.
Exit Status:
The exit status is 0 unless N is not greater than or equal to 1.
|
|
|
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.
|
|
|
|
Thoát khỏi vòng lặp for, while hoặc until.
Thoát khỏi vòng lặp for, while hoặc until. Nếu xác định N thì
thoát N vòng lặp.
Trạng thái thoát:
Trạng thái thoát là 0 trừ khi N nhỏ hơn 1.
|
|
Translated by
Trần Ngọc Quân
|
|
|
|
Located in
builtins.c:330
|
|
475.
|
|
|
Resume for, while, or until loops.
Resumes the next iteration of the enclosing FOR, WHILE or UNTIL loop.
If N is specified, resumes the Nth enclosing loop.
Exit Status:
The exit status is 0 unless N is not greater than or equal to 1.
|
|
|
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.
|
|
|
|
Tiếp tục lại chạy vòng lặp for, while hoặc until.
Tiếp tục lại chạy vòng lặp for, while hoặc until. Nếu xác định N
thì tiếp tục vòng lặp thứ N.
Trạng thái thoát:
Trạng thái thoát là 0 trừ khi N nhỏ hơn 1.
|
|
Translated by
Trần Ngọc Quân
|
|
|
|
Located in
builtins.c:342
|
|
476.
|
|
|
Execute shell builtins.
Execute SHELL-BUILTIN with arguments ARGs without performing command
lookup. This is useful when you wish to reimplement a shell builtin
as a shell function, but need to execute the builtin within the function.
Exit Status:
Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is
not a shell builtin..
|
|
|
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.
|
|
|
|
Chạy lệnh tích hợp hệ vỏ.
Chạy SHELL-BUILTIN với ĐỐI-SỐ mà không thực hiện tìm lệnh. Hữu ích
khi bạn muốn cài đặt lại lệnh hệ vỏ tích hợp dạng hàm hệ vỏ, nhưng
cần chạy lệnh tích hợp trong hàm đó.
Trạng thái thoát:
Trả lại trạng thái thoát của SHELL-BUILTIN, hoặc sai nếu
SHELL-BUILTIN không phải là một lệnh tích hợp hệ vỏ.
|
|
Translated by
Trần Ngọc Quân
|
|
|
|
Located in
builtins.c:354
|
|
477.
|
|
|
Return the context of the current subroutine call.
Without EXPR, returns "$line $filename". With EXPR, returns
"$line $subroutine $filename"; this extra information can be used to
provide a stack trace.
The value of EXPR indicates how many call frames to go back before the
current one; the top frame is frame 0.
Exit Status:
Returns 0 unless the shell is not executing a shell function or EXPR
is invalid.
|
|
|
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.
|
|
|
|
Trả về ngữ cảnh của lệnh gọi hàm hiện thời.
Không có BTHỨC thì trả lại "$line $filename". Có BTHỨC thì trả
lại "$line $subroutine $filename"; thông tin bổ sung này có thể
được dùng để cung cấp stack trace.
Giá trị của BTHỨC thì ngụ ý bao nhiêu lần gọi cần lùi lại đằng
trước lệnh gọi hiện tại; khung gọi đầu là khung 0.
Trạng thái thoát:
Trả lại 0 trừ khi hệ vỏ đang chạy hàm hệ vỏ, BTHỨC cũng hợp lệ.
|
|
Translated by
Trần Ngọc Quân
|
|
|
|
Located in
builtins.c:369
|