1
# Chinese (China) translation for bash
2
# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006
3
# This file is distributed under the same license as the bash package.
4
# FIRST AUTHOR <EMAIL@ADDRESS>, 2006.
8
"Project-Id-Version: bash\n"
9
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
"POT-Creation-Date: 2009-12-30 08:25-0500\n"
11
"PO-Revision-Date: 2008-07-07 13:44+0000\n"
12
"Last-Translator: gmagogsfm <Unknown>\n"
13
"Language-Team: Chinese (China) <zh_CN@li.org>\n"
15
"Content-Type: text/plain; charset=UTF-8\n"
16
"Content-Transfer-Encoding: 8bit\n"
17
"Plural-Forms: nplurals=1; plural=0;\n"
18
"X-Launchpad-Export-Date: 2010-02-13 23:00+0000\n"
19
"X-Generator: Launchpad (build Unknown)\n"
22
msgid "bad array subscript"
25
#: arrayfunc.c:313 builtins/declare.def:481
27
msgid "%s: cannot convert indexed to associative array"
32
msgid "%s: invalid associative array key"
37
msgid "%s: cannot assign to non-numeric index"
38
msgstr "%s: 不能指定非数字索引"
42
msgid "%s: %s: must use subscript when assigning associative array"
47
msgid "%s: cannot create: %s"
51
msgid "bash_execute_unix_command: cannot find keymap for command"
52
msgstr "bash_execute_unix_command: 无法找到命令的键盘映射"
56
msgid "%s: first non-whitespace character is not `\"'"
57
msgstr "%s: 第一个非空格字符不是“\"”"
61
msgid "no closing `%c' in %s"
62
msgstr "%2$s中没有结束符 “%1$c”"
66
msgid "%s: missing colon separator"
69
#: builtins/alias.def:132
71
msgid "`%s': invalid alias name"
74
#: builtins/bind.def:120 builtins/bind.def:123
75
msgid "line editing not enabled"
78
#: builtins/bind.def:206
80
msgid "`%s': invalid keymap name"
81
msgstr "“%s”: 键盘映射名无效"
83
#: builtins/bind.def:245
85
msgid "%s: cannot read: %s"
88
#: builtins/bind.def:260
90
msgid "`%s': cannot unbind"
93
#: builtins/bind.def:295 builtins/bind.def:325
95
msgid "`%s': unknown function name"
98
#: builtins/bind.def:303
100
msgid "%s is not bound to any keys.\n"
101
msgstr "%s 没有绑定到任何键上。\n"
103
#: builtins/bind.def:307
105
msgid "%s can be invoked via "
108
#: builtins/break.def:77 builtins/break.def:117
112
#: builtins/break.def:137
113
msgid "only meaningful in a `for', `while', or `until' loop"
114
msgstr "只在 “for”、“while” 或者 “until” 循环中有效"
116
#: builtins/caller.def:133
118
"Returns the context of the current subroutine call.\n"
120
" Without EXPR, returns "
123
#: builtins/caller.def:135
125
". With EXPR, returns\n"
129
#: builtins/caller.def:136
131
"; this extra information can be used to\n"
132
" provide a stack trace.\n"
134
" The value of EXPR indicates how many call frames to go back before the\n"
135
" current one; the top frame is frame 0."
138
#: builtins/cd.def:215
142
#: builtins/cd.def:227
143
msgid "OLDPWD not set"
144
msgstr "环境变量OLDPWD 未设置"
146
#: builtins/common.c:101
151
#: builtins/common.c:139 error.c:261
156
#: builtins/common.c:153
161
#: builtins/common.c:166 test.c:827
162
msgid "too many arguments"
165
#: builtins/common.c:191 shell.c:499 shell.c:782
167
msgid "%s: option requires an argument"
168
msgstr "%s: 该选项需要一个参数"
170
#: builtins/common.c:198
172
msgid "%s: numeric argument required"
173
msgstr "%s:该选项需要一个数值类型的参数"
175
#: builtins/common.c:205
177
msgid "%s: not found"
180
#: builtins/common.c:214 shell.c:795
182
msgid "%s: invalid option"
185
#: builtins/common.c:221
187
msgid "%s: invalid option name"
190
#: builtins/common.c:228 general.c:231 general.c:236
192
msgid "`%s': not a valid identifier"
193
msgstr "“%s”: 无效的标识符"
195
#: builtins/common.c:238
196
msgid "invalid octal number"
199
#: builtins/common.c:240
200
msgid "invalid hex number"
203
#: builtins/common.c:242 expr.c:1256
204
msgid "invalid number"
207
#: builtins/common.c:250
209
msgid "%s: invalid signal specification"
212
#: builtins/common.c:257
214
msgid "`%s': not a pid or valid job spec"
215
msgstr "“%s”: 不是一个进程号或有效的任务指定"
217
#: builtins/common.c:264 error.c:454
219
msgid "%s: readonly variable"
222
#: builtins/common.c:272
224
msgid "%s: %s out of range"
227
#: builtins/common.c:272 builtins/common.c:274
231
#: builtins/common.c:274
233
msgid "%s out of range"
236
#: builtins/common.c:282
238
msgid "%s: no such job"
241
#: builtins/common.c:290
243
msgid "%s: no job control"
246
#: builtins/common.c:292
247
msgid "no job control"
250
#: builtins/common.c:302
252
msgid "%s: restricted"
255
#: builtins/common.c:304
259
#: builtins/common.c:312
261
msgid "%s: not a shell builtin"
262
msgstr "%s :不是一个shell内部命令"
264
#: builtins/common.c:321
266
msgid "write error: %s"
269
#: builtins/common.c:329
271
msgid "error setting terminal attributes: %s"
274
#: builtins/common.c:331
276
msgid "error getting terminal attributes: %s"
279
#: builtins/common.c:563
281
msgid "%s: error retrieving current directory: %s: %s\n"
282
msgstr "%s: 获取当前目录时出错: %s: %s\n"
284
#: builtins/common.c:629 builtins/common.c:631
286
msgid "%s: ambiguous job spec"
289
#: builtins/complete.def:276
291
msgid "%s: invalid action name"
294
#: builtins/complete.def:449 builtins/complete.def:644
295
#: builtins/complete.def:853
297
msgid "%s: no completion specification"
300
#: builtins/complete.def:696
301
msgid "warning: -F option may not work as you expect"
302
msgstr "警告: -F 选项可能不能正常工作"
304
#: builtins/complete.def:698
305
msgid "warning: -C option may not work as you expect"
306
msgstr "警告: -C 选项可能不能正常工作"
308
#: builtins/complete.def:826
309
msgid "not currently executing completion function"
312
#: builtins/declare.def:122
313
msgid "can only be used in a function"
316
#: builtins/declare.def:360
317
msgid "cannot use `-f' to make functions"
318
msgstr "不能使用 “-f”选项 来生成函数"
320
#: builtins/declare.def:372 execute_cmd.c:4937
322
msgid "%s: readonly function"
325
#: builtins/declare.def:468
327
msgid "%s: cannot destroy array variables in this way"
328
msgstr "%s: 无法通过这种方法销毁数组变量"
330
#: builtins/declare.def:475
332
msgid "%s: cannot convert associative to indexed array"
335
#: builtins/enable.def:137 builtins/enable.def:145
336
msgid "dynamic loading not available"
339
#: builtins/enable.def:312
341
msgid "cannot open shared object %s: %s"
342
msgstr "无法打开共享对象 %s: %s"
344
#: builtins/enable.def:335
346
msgid "cannot find %s in shared object %s: %s"
347
msgstr "无法找到 %s 于共享对象 %s:%s"
349
#: builtins/enable.def:459
351
msgid "%s: not dynamically loaded"
352
msgstr "%s: 没用成功动态加载"
354
#: builtins/enable.def:474
356
msgid "%s: cannot delete: %s"
357
msgstr "%s: 无法删除: %s"
359
#: builtins/evalfile.c:134 builtins/hash.def:169 execute_cmd.c:4794
362
msgid "%s: is a directory"
365
#: builtins/evalfile.c:139
367
msgid "%s: not a regular file"
368
msgstr "%s: 不是一个常规普通文件"
370
#: builtins/evalfile.c:147
372
msgid "%s: file is too large"
375
#: builtins/evalfile.c:185 builtins/evalfile.c:203 execute_cmd.c:4864
378
msgid "%s: cannot execute binary file"
379
msgstr "%s:无法执行二进制文件"
381
#: builtins/exec.def:212
383
msgid "%s: cannot execute: %s"
384
msgstr "%s: 无法执行: %s"
386
#: builtins/exit.def:65
391
#: builtins/exit.def:88
392
msgid "not login shell: use `exit'"
393
msgstr "不是登陆 shell: 请使用 “exit”"
395
#: builtins/exit.def:120
397
msgid "There are stopped jobs.\n"
400
#: builtins/exit.def:122
402
msgid "There are running jobs.\n"
405
#: builtins/fc.def:262
406
msgid "no command found"
409
#: builtins/fc.def:349
410
msgid "history specification"
413
#: builtins/fc.def:370
415
msgid "%s: cannot open temp file: %s"
416
msgstr "%s: 无法打开临时文件: %s"
418
#: builtins/fg_bg.def:149 builtins/jobs.def:282
422
#: builtins/fg_bg.def:158
424
msgid "job %d started without job control"
425
msgstr "任务 %d 在没有任务控制的情况下启动"
427
#: builtins/getopt.c:110
429
msgid "%s: illegal option -- %c\n"
430
msgstr "%s: 非法选项 --%c\n"
432
#: builtins/getopt.c:111
434
msgid "%s: option requires an argument -- %c\n"
435
msgstr "%s: 选项需要参数 -- %c\n"
437
#: builtins/hash.def:92
438
msgid "hashing disabled"
441
#: builtins/hash.def:138
443
msgid "%s: hash table empty\n"
446
#: builtins/hash.def:244
448
msgid "hits\tcommand\n"
451
#: builtins/help.def:130
453
msgid "Shell commands matching keyword `"
454
msgid_plural "Shell commands matching keywords `"
458
#: builtins/help.def:168
461
"no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'."
462
msgstr "没有匹配 “%s” 的帮助主题。尝试 “help help” 或者 “man -k %s” 或 “info %s”。"
464
#: builtins/help.def:185
466
msgid "%s: cannot open: %s"
467
msgstr "%s: 无法打开: %s"
469
#: builtins/help.def:337
472
"These shell commands are defined internally. Type `help' to see this list.\n"
473
"Type `help name' to find out more about the function `name'.\n"
474
"Use `info bash' to find out more about the shell in general.\n"
475
"Use `man -k' or `info' to find out more about commands not in this list.\n"
477
"A star (*) next to a name means that the command is disabled.\n"
480
"shell 的命令是内置定义的,输入 “help” 可以看到这个列表。\n"
481
"输入“help name” 来查找关于 “name”命令功能的更多信息。\n"
482
"输入 “info bash” 来查看关于 shell 的更多信息。\n"
483
"输入 “man -k” 或者 “info” 来查看没有列在这个列表中的命令的信息。\n"
487
#: builtins/history.def:154
488
msgid "cannot use more than one of -anrw"
489
msgstr "-anrw 这些选项仅能使用其中一个"
491
#: builtins/history.def:186
492
msgid "history position"
495
#: builtins/history.def:365
497
msgid "%s: history expansion failed"
498
msgstr "%s: 历史记录扩充失败"
500
#: builtins/inlib.def:71
502
msgid "%s: inlib failed"
505
#: builtins/jobs.def:109
506
msgid "no other options allowed with `-x'"
507
msgstr "-x 选项不可以和其他选项并用"
509
#: builtins/kill.def:200
511
msgid "%s: arguments must be process or job IDs"
512
msgstr "%s: 参数必须是进程号或任务号"
514
#: builtins/kill.def:263
515
msgid "Unknown error"
518
#: builtins/let.def:95 builtins/let.def:120 expr.c:501 expr.c:516
519
msgid "expression expected"
522
#: builtins/mapfile.def:165
524
msgid "%s: not an indexed array"
527
#: builtins/mapfile.def:249 builtins/read.def:279
529
msgid "%s: invalid file descriptor specification"
530
msgstr "%s:指定了无效的文件描述符"
532
#: builtins/mapfile.def:257 builtins/read.def:286
534
msgid "%d: invalid file descriptor: %s"
535
msgstr "%d:无效的文件描述符:%s"
537
#: builtins/mapfile.def:266 builtins/mapfile.def:304
539
msgid "%s: invalid line count"
542
#: builtins/mapfile.def:277
544
msgid "%s: invalid array origin"
547
#: builtins/mapfile.def:294
549
msgid "%s: invalid callback quantum"
552
#: builtins/mapfile.def:326
553
msgid "empty array variable name"
556
#: builtins/mapfile.def:347
557
msgid "array variable support required"
560
#: builtins/printf.def:374
562
msgid "`%s': missing format character"
563
msgstr "“%s”: 缺少格式字符"
565
#: builtins/printf.def:551
567
msgid "`%c': invalid format character"
568
msgstr "“%c”: 无效的格式字符"
570
#: builtins/printf.def:578
572
msgid "warning: %s: %s"
575
#: builtins/printf.def:757
576
msgid "missing hex digit for \\x"
577
msgstr "\\x 参数后缺少十六进制字符"
579
#: builtins/pushd.def:195
580
msgid "no other directory"
583
#: builtins/pushd.def:462
584
msgid "<no current directory>"
587
#: builtins/pushd.def:506
588
msgid "directory stack empty"
591
#: builtins/pushd.def:508
592
msgid "directory stack index"
595
#: builtins/pushd.def:683
597
"Display the list of currently remembered directories. Directories\n"
598
" find their way onto the list with the `pushd' command; you can get\n"
599
" back up through the list with the `popd' command.\n"
602
" -c\tclear the directory stack by deleting all of the elements\n"
603
" -l\tdo not print tilde-prefixed versions of directories relative\n"
604
" \tto your home directory\n"
605
" -p\tprint the directory stack with one entry per line\n"
606
" -v\tprint the directory stack with one entry per line prefixed\n"
607
" \twith its position in the stack\n"
610
" +N\tDisplays the Nth entry counting from the left of the list shown "
612
" \tdirs when invoked without options, starting with zero.\n"
614
" -N\tDisplays the Nth entry counting from the right of the list shown "
616
"\tdirs when invoked without options, starting with zero."
619
#: builtins/pushd.def:705
621
"Adds a directory to the top of the directory stack, or rotates\n"
622
" the stack, making the new top of the stack the current working\n"
623
" directory. With no arguments, exchanges the top two directories.\n"
626
" -n\tSuppresses the normal change of directory when adding\n"
627
" \tdirectories to the stack, so only the stack is manipulated.\n"
630
" +N\tRotates the stack so that the Nth directory (counting\n"
631
" \tfrom the left of the list shown by `dirs', starting with\n"
632
" \tzero) is at the top.\n"
634
" -N\tRotates the stack so that the Nth directory (counting\n"
635
" \tfrom the right of the list shown by `dirs', starting with\n"
636
" \tzero) is at the top.\n"
638
" dir\tAdds DIR to the directory stack at the top, making it the\n"
639
" \tnew current working directory.\n"
641
" The `dirs' builtin displays the directory stack."
644
#: builtins/pushd.def:730
646
"Removes entries from the directory stack. With no arguments, removes\n"
647
" the top directory from the stack, and changes to the new top directory.\n"
650
" -n\tSuppresses the normal change of directory when removing\n"
651
" \tdirectories from the stack, so only the stack is manipulated.\n"
654
" +N\tRemoves the Nth entry counting from the left of the list\n"
655
" \tshown by `dirs', starting with zero. For example: `popd +0'\n"
656
" \tremoves the first directory, `popd +1' the second.\n"
658
" -N\tRemoves the Nth entry counting from the right of the list\n"
659
" \tshown by `dirs', starting with zero. For example: `popd -0'\n"
660
" \tremoves the last directory, `popd -1' the next to last.\n"
662
" The `dirs' builtin displays the directory stack."
665
#: builtins/read.def:252
667
msgid "%s: invalid timeout specification"
668
msgstr "%s:指定了无效的超时值"
670
#: builtins/read.def:588
672
msgid "read error: %d: %s"
675
#: builtins/return.def:73
676
msgid "can only `return' from a function or sourced script"
677
msgstr "只能从函数或来源脚本中取得“return”返回值"
679
#: builtins/set.def:768
680
msgid "cannot simultaneously unset a function and a variable"
681
msgstr "无法同时重置一个函数和一个变量"
683
#: builtins/set.def:805
685
msgid "%s: cannot unset"
688
#: builtins/set.def:812
690
msgid "%s: cannot unset: readonly %s"
691
msgstr "%s:无法重置:只读的 %s"
693
#: builtins/set.def:823
695
msgid "%s: not an array variable"
698
#: builtins/setattr.def:186
700
msgid "%s: not a function"
703
#: builtins/shift.def:71 builtins/shift.def:77
707
#: builtins/shopt.def:260
708
msgid "cannot set and unset shell options simultaneously"
709
msgstr "无法同时设置并重置 shell 选项"
711
#: builtins/shopt.def:325
713
msgid "%s: invalid shell option name"
714
msgstr "%s:无效的 shell 选项名称"
716
#: builtins/source.def:128
717
msgid "filename argument required"
720
#: builtins/source.def:153
722
msgid "%s: file not found"
725
#: builtins/suspend.def:101
726
msgid "cannot suspend"
729
#: builtins/suspend.def:111
730
msgid "cannot suspend a login shell"
731
msgstr "无法挂起一个登录 shell"
733
#: builtins/type.def:234
735
msgid "%s is aliased to `%s'\n"
736
msgstr "%s 已被别名为“%s”\n"
738
#: builtins/type.def:255
740
msgid "%s is a shell keyword\n"
741
msgstr "%s 是一个 shell 关键词\n"
743
#: builtins/type.def:274
745
msgid "%s is a function\n"
748
#: builtins/type.def:296
750
msgid "%s is a shell builtin\n"
751
msgstr "%s 是一个 shell 内部命令\n"
753
#: builtins/type.def:317 builtins/type.def:391
758
#: builtins/type.def:337
760
msgid "%s is hashed (%s)\n"
761
msgstr "%s 已经被散列 (%s)\n"
763
#: builtins/ulimit.def:372
765
msgid "%s: invalid limit argument"
768
#: builtins/ulimit.def:398
770
msgid "`%c': bad command"
773
#: builtins/ulimit.def:427
775
msgid "%s: cannot get limit: %s"
776
msgstr "%s:无法获取限制值:%s"
778
#: builtins/ulimit.def:453
782
#: builtins/ulimit.def:465 builtins/ulimit.def:765
784
msgid "%s: cannot modify limit: %s"
785
msgstr "%s:无法修改限制:%s"
787
#: builtins/umask.def:118
791
#: builtins/umask.def:231
793
msgid "`%c': invalid symbolic mode operator"
794
msgstr "“%c”:无效的符号模式操作符"
796
#: builtins/umask.def:286
798
msgid "`%c': invalid symbolic mode character"
799
msgstr "“%c”:无效的符号模式字符"
801
#: error.c:90 error.c:321 error.c:323 error.c:325
807
msgid "last command: %s\n"
816
msgid "unknown command error"
820
msgid "bad command type"
824
msgid "bad connector"
833
msgid "%s: unbound variable"
838
msgid "timed out waiting for input: auto-logout\n"
839
msgstr "等待输入超时:自动登出\n"
843
msgid "cannot redirect standard input from /dev/null: %s"
844
msgstr "无法从 /dev/null 重定向到标准输入:%s"
846
#: execute_cmd.c:1162
848
msgid "TIMEFORMAT: `%c': invalid format character"
849
msgstr "时间格式:%c:无效的格式字符"
851
#: execute_cmd.c:2075
855
#: execute_cmd.c:4481
857
msgid "%s: restricted: cannot specify `/' in command names"
858
msgstr "%s:受限格式:命令中不能包含“/”"
860
#: execute_cmd.c:4572
862
msgid "%s: command not found"
865
#: execute_cmd.c:4827
867
msgid "%s: %s: bad interpreter"
868
msgstr "%s:%s:损坏的解释器"
870
#: execute_cmd.c:4976
872
msgid "cannot duplicate fd %d to fd %d"
873
msgstr "无法从 fd %d 复制到 fd %d"
876
msgid "expression recursion level exceeded"
880
msgid "recursion stack underflow"
884
msgid "syntax error in expression"
888
msgid "attempted assignment to non-variable"
891
#: expr.c:440 expr.c:445 expr.c:756
892
msgid "division by 0"
896
msgid "bug: bad expassign token"
897
msgstr "bug:捕捉到损坏的表达式"
900
msgid "`:' expected for conditional expression"
901
msgstr "在条件表达式中需要“:”"
904
msgid "exponent less than 0"
908
msgid "identifier expected after pre-increment or pre-decrement"
909
msgstr "在递增或递减之后需要标识符"
915
#: expr.c:897 expr.c:1176
916
msgid "syntax error: operand expected"
917
msgstr "语法出错:此处需要运算符"
920
msgid "syntax error: invalid arithmetic operator"
921
msgstr "语法错误:无效的算术运算符"
925
msgid "%s%s%s: %s (error token is \"%s\")"
929
msgid "invalid arithmetic base"
933
msgid "value too great for base"
938
msgid "%s: expression error\n"
942
msgid "getcwd: cannot access parent directories"
943
msgstr "getcwd:无法访问上层目录"
945
#: input.c:94 subst.c:4857
947
msgid "cannot reset nodelay mode for fd %d"
952
msgid "cannot allocate new file descriptor for bash input from fd %d"
953
msgstr "无法为 bash 从 fd %d 分配新的文件描述符"
957
msgid "save_bash_input: buffer already exists for new fd %d"
958
msgstr "save_bash_input: 新fd %d的缓冲区已经存在"
961
msgid "start_pipeline: pgrp pipe"
966
msgid "forked pid %d appears in running job %d"
971
msgid "deleting stopped job %d with process group %ld"
972
msgstr "将 %d 从进程组 %ld中删除任务"
976
msgid "add_process: process %5ld (%s) in the_pipeline"
981
msgid "add_process: pid %5ld (%s) marked as still alive"
986
msgid "describe_pid: %ld: no such pid"
987
msgstr "describe_pid: %ld: 无此 pid"
994
#: jobs.c:1430 jobs.c:1455
998
#: jobs.c:1435 siglist.c:123
1022
msgid "Unknown status"
1027
msgid "(core dumped) "
1037
msgid "child setpgid (%ld to %ld)"
1040
#: jobs.c:2104 nojobs.c:585
1042
msgid "wait: pid %ld is not a child of this shell"
1043
msgstr "待机:代号 %ld 所属进程不是由当前 shell 所派生"
1047
msgid "wait_for: No record of process %ld"
1048
msgstr "待机:没有进程号 %ld 的记录"
1052
msgid "wait_for_job: job %d is stopped"
1053
msgstr "等待任务:任务 %d 已中止"
1057
msgid "%s: job has terminated"
1062
msgid "%s: job %d already in background"
1063
msgstr "%s:任务 %d 已转入后台"
1066
msgid "waitchld: turning on WNOHANG to avoid indefinite block"
1071
msgid "%s: line %d: "
1074
#: jobs.c:3522 nojobs.c:814
1076
msgid " (core dumped)"
1079
#: jobs.c:3534 jobs.c:3547
1081
msgid "(wd now: %s)\n"
1085
msgid "initialize_job_control: getpgrp failed"
1089
msgid "initialize_job_control: line discipline"
1093
msgid "initialize_job_control: setpgid"
1098
msgid "cannot set terminal process group (%d)"
1102
msgid "no job control in this shell"
1103
msgstr "没有当前 shell 控制下的任务"
1105
#: lib/malloc/malloc.c:296
1107
msgid "malloc: failed assertion: %s\n"
1108
msgstr "malloc:断言失败:%s\n"
1110
#: lib/malloc/malloc.c:312
1114
"malloc: %s:%d: assertion botched\r\n"
1117
#: lib/malloc/malloc.c:313
1121
#: lib/malloc/malloc.c:797
1122
msgid "malloc: block on free list clobbered"
1125
#: lib/malloc/malloc.c:874
1126
msgid "free: called with already freed block argument"
1127
msgstr "free: 参数指向为一已释放的块"
1129
#: lib/malloc/malloc.c:877
1130
msgid "free: called with unallocated block argument"
1131
msgstr "free: 参数指向一未分配的块"
1133
#: lib/malloc/malloc.c:896
1134
msgid "free: underflow detected; mh_nbytes out of range"
1137
#: lib/malloc/malloc.c:902
1138
msgid "free: start and end chunk sizes differ"
1141
#: lib/malloc/malloc.c:1001
1142
msgid "realloc: called with unallocated block argument"
1145
#: lib/malloc/malloc.c:1016
1146
msgid "realloc: underflow detected; mh_nbytes out of range"
1147
msgstr "realloc:发现下溢;mh_nbytes 超出范围"
1149
#: lib/malloc/malloc.c:1022
1150
msgid "realloc: start and end chunk sizes differ"
1151
msgstr "realloc:开始和结尾的结构块尺寸不一致"
1153
#: lib/malloc/table.c:177
1155
msgid "register_alloc: alloc table is full with FIND_ALLOC?\n"
1158
#: lib/malloc/table.c:184
1160
msgid "register_alloc: %p already in table as allocated?\n"
1163
#: lib/malloc/table.c:220
1165
msgid "register_free: %p already in table as free?\n"
1168
#: lib/sh/fmtulong.c:101
1169
msgid "invalid base"
1172
#: lib/sh/netopen.c:168
1174
msgid "%s: host unknown"
1177
#: lib/sh/netopen.c:175
1179
msgid "%s: invalid service"
1182
#: lib/sh/netopen.c:306
1184
msgid "%s: bad network path specification"
1185
msgstr "%s:损坏的网络路径规格"
1187
#: lib/sh/netopen.c:346
1188
msgid "network operations not supported"
1193
msgid "setlocale: LC_ALL: cannot change locale (%s)"
1198
msgid "setlocale: LC_ALL: cannot change locale (%s): %s"
1203
msgid "setlocale: %s: cannot change locale (%s)"
1208
msgid "setlocale: %s: cannot change locale (%s): %s"
1212
msgid "You have mail in $_"
1216
msgid "You have new mail in $_"
1217
msgstr "您有新邮件在 $_ 中"
1221
msgid "The mail in %s has been read\n"
1222
msgstr "%s 中的邮件已读\n"
1225
msgid "syntax error: arithmetic expression required"
1226
msgstr "语法出错:这里需要一个算术表达式"
1229
msgid "syntax error: `;' unexpected"
1230
msgstr "语法出错:意外的“;”字符"
1234
msgid "syntax error: `((%s))'"
1235
msgstr "语法出错:“((%s))”"
1239
msgid "make_here_document: bad instruction type %d"
1244
msgid "here-document at line %d delimited by end-of-file (wanted `%s')"
1249
msgid "make_redirection: redirection instruction `%d' out of range"
1252
#: parse.y:3133 parse.y:3369
1254
msgid "unexpected EOF while looking for matching `%c'"
1255
msgstr "查找“%c”的匹配字符时发现意外的EOF"
1258
msgid "unexpected EOF while looking for `]]'"
1259
msgstr "查找“]]”的匹配字符时发现意外的EOF"
1263
msgid "syntax error in conditional expression: unexpected token `%s'"
1264
msgstr "条件表达式语法错误:意外标识'%s'"
1267
msgid "syntax error in conditional expression"
1272
msgid "unexpected token `%s', expected `)'"
1273
msgstr "意外标识 '%s' ,要求 ')'"
1276
msgid "expected `)'"
1281
msgid "unexpected argument `%s' to conditional unary operator"
1282
msgstr "意外参数 '%s' 用于一元条件操作符"
1285
msgid "unexpected argument to conditional unary operator"
1286
msgstr "意外参数用于一元条件操作符"
1290
msgid "unexpected token `%s', conditional binary operator expected"
1294
msgid "conditional binary operator expected"
1299
msgid "unexpected argument `%s' to conditional binary operator"
1303
msgid "unexpected argument to conditional binary operator"
1308
msgid "unexpected token `%c' in conditional command"
1313
msgid "unexpected token `%s' in conditional command"
1318
msgid "unexpected token %d in conditional command"
1323
msgid "syntax error near unexpected token `%s'"
1324
msgstr "在未预料的“%s”附近出现语法错误"
1328
msgid "syntax error near `%s'"
1329
msgstr "在“%s”处发现语法错误"
1332
msgid "syntax error: unexpected end of file"
1333
msgstr "语法错误:不可预料的文件末尾"
1336
msgid "syntax error"
1341
msgid "Use \"%s\" to leave the shell.\n"
1342
msgstr "使用“%s”退出 shell 环境。\n"
1345
msgid "unexpected EOF while looking for matching `)'"
1350
msgid "completion: function `%s' not found"
1351
msgstr "自动完成: 未找到函数 '%s‘"
1355
msgid "progcomp_insert: %s: NULL COMPSPEC"
1360
msgid "print_command: bad connector `%d'"
1365
msgid "xtrace_set: %d: invalid file descriptor"
1369
msgid "xtrace_set: NULL file pointer"
1374
msgid "xtrace fd (%d) != fileno xtrace fp (%d)"
1379
msgid "cprintf: `%c': invalid format character"
1380
msgstr "cprintf:“%c”:无效的字符格式"
1383
msgid "file descriptor out of range"
1388
msgid "%s: ambiguous redirect"
1389
msgstr "%s:意义不明确的重定向"
1393
msgid "%s: cannot overwrite existing file"
1394
msgstr "%s:无法覆盖已经存在的文件"
1398
msgid "%s: restricted: cannot redirect output"
1399
msgstr "%s:受限操作:无法重定向输出"
1403
msgid "cannot create temp file for here-document: %s"
1408
msgid "%s: cannot assign fd to variable"
1412
msgid "/dev/(tcp|udp)/host/port not supported without networking"
1413
msgstr "不支持在没有网络的环境中操作 /dev/(tcp|udp)/host/port"
1416
msgid "redirection error: cannot duplicate fd"
1417
msgstr "重定向出错:无法复制文件描述符"
1420
msgid "could not find /tmp, please create!"
1421
msgstr "找不到 /tmp,请自行创建!"
1424
msgid "/tmp must be a valid directory name"
1425
msgstr "/tmp 必须是一个有效的目录名"
1429
msgid "%c%c: invalid option"
1433
msgid "I have no name!"
1438
msgid "GNU bash, version %s-(%s)\n"
1444
"Usage:\t%s [GNU long option] [option] ...\n"
1445
"\t%s [GNU long option] [option] script-file ...\n"
1447
"Usage:\t%s [GNU long option] [option] ...\n"
1448
"\t%s [GNU long option] [option] script-file ...\n"
1451
msgid "GNU long options:\n"
1452
msgstr "GNU 长选项格式:\n"
1455
msgid "Shell options:\n"
1456
msgstr "Shell 选项:\n"
1459
msgid "\t-irsD or -c command or -O shopt_option\t\t(invocation only)\n"
1460
msgstr "\t-irsD or -c command or -O shopt_option\t\t(invocation only)\n"
1464
msgid "\t-%s or -o option\n"
1465
msgstr "\t-%s 或 -o 选项\n"
1469
msgid "Type `%s -c \"help set\"' for more information about shell options.\n"
1470
msgstr "键入 `%s -c \"help set\"' 获取shell有关选项的更多信息.\n"
1475
"Type `%s -c help' for more information about shell builtin commands.\n"
1476
msgstr "请输入“%s -c help”命令获取 shell 内部命令的帮助信息。\n"
1480
msgid "Use the `bashbug' command to report bugs.\n"
1481
msgstr "请使用“bashbug”命令报告程序缺陷。\n"
1485
msgid "sigprocmask: %d: invalid operation"
1486
msgstr "sigprocmask:%d:无效的操作"
1489
msgid "Bogus signal"
1505
msgid "Illegal instruction"
1509
msgid "BPT trace/trap"
1513
msgid "ABORT instruction"
1517
msgid "EMT instruction"
1521
msgid "Floating point exception"
1533
msgid "Segmentation fault"
1537
msgid "Bad system call"
1553
msgid "Urgent IO condition"
1557
msgid "Stopped (signal)"
1565
msgid "Child death or stop"
1569
msgid "Stopped (tty input)"
1573
msgid "Stopped (tty output)"
1589
msgid "Alarm (virtual)"
1593
msgid "Alarm (profile)"
1597
msgid "Window changed"
1605
msgid "User signal 1"
1609
msgid "User signal 2"
1613
msgid "HFT input data pending"
1617
msgid "power failure imminent"
1621
msgid "system crash imminent"
1625
msgid "migrate process to another CPU"
1629
msgid "programming error"
1633
msgid "HFT monitor mode granted"
1637
msgid "HFT monitor mode retracted"
1641
msgid "HFT sound sequence has completed"
1645
msgid "Information request"
1649
msgid "Unknown Signal #"
1654
msgid "Unknown Signal #%d"
1657
#: subst.c:1333 subst.c:1454
1659
msgid "bad substitution: no closing `%s' in %s"
1664
msgid "%s: cannot assign list to array member"
1665
msgstr "%s:无法将列表分配到数组成员"
1667
#: subst.c:4754 subst.c:4770
1668
msgid "cannot make pipe for process substitution"
1669
msgstr "无法为置换进程创建管道"
1672
msgid "cannot make child for process substitution"
1673
msgstr "无法为置换进程创建子进程"
1677
msgid "cannot open named pipe %s for reading"
1678
msgstr "无法以读模式打开命名管道 %s"
1682
msgid "cannot open named pipe %s for writing"
1683
msgstr "无法以写模式打开命名管道 %s"
1687
msgid "cannot duplicate named pipe %s as fd %d"
1691
msgid "cannot make pipe for command substitution"
1692
msgstr "无法为命令子替换创建管道"
1695
msgid "cannot make child for command substitution"
1696
msgstr "无法为命令子替换创建子进程"
1699
msgid "command_substitute: cannot duplicate pipe as fd 1"
1704
msgid "%s: parameter null or not set"
1709
msgid "%s: substring expression < 0"
1710
msgstr "%s:子串表达式小于零。"
1714
msgid "%s: bad substitution"
1719
msgid "$%s: cannot assign in this way"
1720
msgstr "$%s: 不能以此方式关联"
1724
"future versions of the shell will force evaluation as an arithmetic "
1730
msgid "bad substitution: no closing \"`\" in %s"
1735
msgid "no match: %s"
1739
msgid "argument expected"
1744
msgid "%s: integer expression expected"
1745
msgstr "%s:此处需要整数表达式"
1748
msgid "`)' expected"
1753
msgid "`)' expected, found %s"
1754
msgstr "此处需要“)”,但给定的是 %s"
1756
#: test.c:280 test.c:693 test.c:696
1758
msgid "%s: unary operator expected"
1761
#: test.c:449 test.c:736
1763
msgid "%s: binary operator expected"
1764
msgstr "%s:此处需要二进制操作符"
1771
msgid "invalid signal number"
1776
msgid "run_pending_traps: bad value in trap_list[%d]: %p"
1782
"run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself"
1787
msgid "trap_handler: bad signal %d"
1788
msgstr "trap_handler: 错误的信号 %d"
1792
msgid "error importing function definition for `%s'"
1793
msgstr "导入“%s”的函数定义时出错"
1797
msgid "shell level (%d) too high, resetting to 1"
1798
msgstr "shell 层次值 %d 过大,已重置到 1"
1801
msgid "make_local_variable: no function context at current scope"
1805
msgid "all_local_variables: no function context at current scope"
1810
msgid "%s has null exportstr"
1813
#: variables.c:3381 variables.c:3390
1815
msgid "invalid character %d in exportstr for %s"
1820
msgid "no `=' in exportstr for %s"
1824
msgid "pop_var_context: head of shell_variables not a function context"
1828
msgid "pop_var_context: no global_variables context"
1832
msgid "pop_scope: head of shell_variables not a temporary environment scope"
1837
msgid "%s: %s: cannot open as FILE"
1842
msgid "%s: %s: invalid value for trace file descriptor"
1846
msgid "Copyright (C) 2009 Free Software Foundation, Inc."
1851
"License GPLv3+: GNU GPL version 3 or later "
1852
"<http://gnu.org/licenses/gpl.html>\n"
1855
#: version.c:86 version2.c:83
1857
msgid "GNU bash, version %s (%s)\n"
1860
#: version.c:91 version2.c:88
1862
msgid "This is free software; you are free to change and redistribute it.\n"
1865
#: version.c:92 version2.c:89
1867
msgid "There is NO WARRANTY, to the extent permitted by law.\n"
1872
msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n"
1878
"License GPLv2+: GNU GPL version 2 or later "
1879
"<http://gnu.org/licenses/gpl.html>\n"
1884
msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)"
1889
msgid "%s: cannot allocate %lu bytes"
1894
msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)"
1899
msgid "%s: %s:%d: cannot allocate %lu bytes"
1903
msgid "alias [-p] [name[=value] ... ]"
1907
msgid "unalias [-a] name [name ...]"
1912
"bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-"
1913
"x keyseq:shell-command] [keyseq:readline-function or readline-command]"
1921
msgid "continue [n]"
1925
msgid "builtin [shell-builtin [arg ...]]"
1929
msgid "caller [expr]"
1933
msgid "cd [-L|-P] [dir]"
1953
msgid "command [-pVv] command [arg ...]"
1957
msgid "declare [-aAfFilrtux] [-p] [name[=value] ...]"
1961
msgid "typeset [-aAfFilrtux] [-p] name[=value] ..."
1965
msgid "local [option] name[=value] ..."
1969
msgid "echo [-neE] [arg ...]"
1973
msgid "echo [-n] [arg ...]"
1977
msgid "enable [-a] [-dnps] [-f filename] [name ...]"
1981
msgid "eval [arg ...]"
1985
msgid "getopts optstring name [arg]"
1989
msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]"
2001
msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]"
2005
msgid "fg [job_spec]"
2009
msgid "bg [job_spec ...]"
2013
msgid "hash [-lr] [-p pathname] [-dt] [name ...]"
2017
msgid "help [-dms] [pattern ...]"
2022
"history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg "
2027
msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]"
2031
msgid "disown [-h] [-ar] [jobspec ...]"
2036
"kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l "
2041
msgid "let arg [arg ...]"
2046
"read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p "
2047
"prompt] [-t timeout] [-u fd] [name ...]"
2055
msgid "set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...]"
2059
msgid "unset [-f] [-v] [name ...]"
2063
msgid "export [-fn] [name[=value] ...] or export -p"
2067
msgid "readonly [-af] [name[=value] ...] or readonly -p"
2075
msgid "source filename [arguments]"
2079
msgid ". filename [arguments]"
2083
msgid "suspend [-f]"
2099
msgid "trap [-lp] [[arg] signal_spec ...]"
2103
msgid "type [-afptP] name [name ...]"
2107
msgid "ulimit [-SHacdefilmnpqrstuvx] [limit]"
2111
msgid "umask [-p] [-S] [mode]"
2123
msgid "for NAME [in WORDS ... ] ; do COMMANDS; done"
2127
msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done"
2131
msgid "select NAME [in WORDS ... ;] do COMMANDS; done"
2135
msgid "time [-p] pipeline"
2139
msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac"
2144
"if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else "
2149
msgid "while COMMANDS; do COMMANDS; done"
2153
msgid "until COMMANDS; do COMMANDS; done"
2157
msgid "coproc [NAME] command [redirections]"
2161
msgid "function name { COMMANDS ; } or name () { COMMANDS ; }"
2165
msgid "{ COMMANDS ; }"
2169
msgid "job_spec [&]"
2173
msgid "(( expression ))"
2177
msgid "[[ expression ]]"
2181
msgid "variables - Names and meanings of some shell variables"
2185
msgid "pushd [-n] [+N | -N | dir]"
2189
msgid "popd [-n] [+N | -N]"
2193
msgid "dirs [-clpv] [+N] [-N]"
2197
msgid "shopt [-pqsu] [-o] [optname ...]"
2201
msgid "printf [-v var] format [arguments]"
2206
"complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-"
2207
"W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S "
2208
"suffix] [name ...]"
2213
"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] "
2214
"[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]"
2218
msgid "compopt [-o|+o option] [-DE] [name ...]"
2223
"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c "
2229
"readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c "
2235
"Define or display aliases.\n"
2237
" Without arguments, `alias' prints the list of aliases in the reusable\n"
2238
" form `alias NAME=VALUE' on standard output.\n"
2240
" Otherwise, an alias is defined for each NAME whose VALUE is given.\n"
2241
" A trailing space in VALUE causes the next word to be checked for\n"
2242
" alias substitution when the alias is expanded.\n"
2245
" -p\tPrint all defined aliases in a reusable format\n"
2248
" alias returns true unless a NAME is supplied for which no alias has "
2255
"Remove each NAME from the list of defined aliases.\n"
2258
" -a\tremove all alias definitions.\n"
2260
" Return success unless a NAME is not an existing alias."
2265
"Set Readline key bindings and variables.\n"
2267
" Bind a key sequence to a Readline function or a macro, or set a\n"
2268
" Readline variable. The non-option argument syntax is equivalent to\n"
2269
" that found in ~/.inputrc, but must be passed as a single argument:\n"
2270
" e.g., bind '\"\\C-x\\C-r\": re-read-init-file'.\n"
2273
" -m keymap Use KEYMAP as the keymap for the duration of this\n"
2274
" command. Acceptable keymap names are emacs,\n"
2275
" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-"
2277
" vi-command, and vi-insert.\n"
2278
" -l List names of functions.\n"
2279
" -P List function names and bindings.\n"
2280
" -p List functions and bindings in a form that can be\n"
2281
" reused as input.\n"
2282
" -S List key sequences that invoke macros and their "
2284
" -s List key sequences that invoke macros and their "
2286
" in a form that can be reused as input.\n"
2287
" -V List variable names and values\n"
2288
" -v List variable names and values in a form that can\n"
2289
" be reused as input.\n"
2290
" -q function-name Query about which keys invoke the named function.\n"
2291
" -u function-name Unbind all keys which are bound to the named "
2293
" -r keyseq Remove the binding for KEYSEQ.\n"
2294
" -f filename Read key bindings from FILENAME.\n"
2295
" -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n"
2296
" \t\t\t\tKEYSEQ is entered.\n"
2299
" bind returns 0 unless an unrecognized option is given or an error occurs."
2304
"Exit for, while, or until loops.\n"
2306
" Exit a FOR, WHILE or UNTIL loop. If N is specified, break N enclosing\n"
2310
" The exit status is 0 unless N is not greater than or equal to 1."
2315
"Resume for, while, or until loops.\n"
2317
" Resumes the next iteration of the enclosing FOR, WHILE or UNTIL loop.\n"
2318
" If N is specified, resumes the Nth enclosing loop.\n"
2321
" The exit status is 0 unless N is not greater than or equal to 1."
2326
"Execute shell builtins.\n"
2328
" Execute SHELL-BUILTIN with arguments ARGs without performing command\n"
2329
" lookup. This is useful when you wish to reimplement a shell builtin\n"
2330
" as a shell function, but need to execute the builtin within the "
2334
" Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n"
2335
" not a shell builtin.."
2340
"Return the context of the current subroutine call.\n"
2342
" Without EXPR, returns \"$line $filename\". With EXPR, returns\n"
2343
" \"$line $subroutine $filename\"; this extra information can be used to\n"
2344
" provide a stack trace.\n"
2346
" The value of EXPR indicates how many call frames to go back before the\n"
2347
" current one; the top frame is frame 0.\n"
2350
" Returns 0 unless the shell is not executing a shell function or EXPR\n"
2356
"Change the shell working directory.\n"
2358
" Change the current directory to DIR. The default DIR is the value of "
2360
" HOME shell variable.\n"
2362
" The variable CDPATH defines the search path for the directory "
2364
" DIR. Alternative directory names in CDPATH are separated by a colon "
2366
" A null directory name is the same as the current directory. If DIR "
2368
" with a slash (/), then CDPATH is not used.\n"
2370
" If the directory is not found, and the shell option `cdable_vars' is "
2372
" the word is assumed to be a variable name. If that variable has a "
2374
" its value is used for DIR.\n"
2377
" -L\tforce symbolic links to be followed\n"
2378
" -P\tuse the physical directory structure without following symbolic\n"
2381
" The default is to follow symbolic links, as if `-L' were specified.\n"
2384
" Returns 0 if the directory is changed; non-zero otherwise."
2389
"Print the name of the current working directory.\n"
2392
" -L\tprint the value of $PWD if it names the current working\n"
2394
" -P\tprint the physical directory, without any symbolic links\n"
2396
" By default, `pwd' behaves as if `-L' were specified.\n"
2399
" Returns 0 unless an invalid option is given or the current directory\n"
2407
" No effect; the command does nothing.\n"
2415
"Return a successful result.\n"
2423
"Return an unsuccessful result.\n"
2431
"Execute a simple command or display information about commands.\n"
2433
" Runs COMMAND with ARGS suppressing shell function lookup, or display\n"
2434
" information about the specified COMMANDs. Can be used to invoke "
2436
" on disk when a function with the same name exists.\n"
2439
" -p\tuse a default value for PATH that is guaranteed to find all of\n"
2440
" \tthe standard utilities\n"
2441
" -v\tprint a description of COMMAND similar to the `type' builtin\n"
2442
" -V\tprint a more verbose description of each COMMAND\n"
2445
" Returns exit status of COMMAND, or failure if COMMAND is not found."
2450
"Set variable values and attributes.\n"
2452
" Declare variables and give them attributes. If no NAMEs are given,\n"
2453
" display the attributes and values of all variables.\n"
2456
" -f\trestrict action or display to function names and definitions\n"
2457
" -F\trestrict display to function names only (plus line number and\n"
2458
" \tsource file when debugging)\n"
2459
" -p\tdisplay the attributes and value of each NAME\n"
2461
" Options which set attributes:\n"
2462
" -a\tto make NAMEs indexed arrays (if supported)\n"
2463
" -A\tto make NAMEs associative arrays (if supported)\n"
2464
" -i\tto make NAMEs have the `integer' attribute\n"
2465
" -l\tto convert NAMEs to lower case on assignment\n"
2466
" -r\tto make NAMEs readonly\n"
2467
" -t\tto make NAMEs have the `trace' attribute\n"
2468
" -u\tto convert NAMEs to upper case on assignment\n"
2469
" -x\tto make NAMEs export\n"
2471
" Using `+' instead of `-' turns off the given attribute.\n"
2473
" Variables with the integer attribute have arithmetic evaluation (see\n"
2474
" the `let' command) performed when the variable is assigned a value.\n"
2476
" When used in a function, `declare' makes NAMEs local, as with the "
2481
" Returns success unless an invalid option is supplied or an error occurs."
2486
"Set variable values and attributes.\n"
2488
" Obsolete. See `help declare'."
2493
"Define local variables.\n"
2495
" Create a local variable called NAME, and give it VALUE. OPTION can\n"
2496
" be any option accepted by `declare'.\n"
2498
" Local variables can only be used within a function; they are visible\n"
2499
" only to the function where they are defined and its children.\n"
2502
" Returns success unless an invalid option is supplied, an error occurs,\n"
2503
" or the shell is not executing a function."
2508
"Write arguments to the standard output.\n"
2510
" Display the ARGs on the standard output followed by a newline.\n"
2513
" -n\tdo not append a newline\n"
2514
" -e\tenable interpretation of the following backslash escapes\n"
2515
" -E\texplicitly suppress interpretation of backslash escapes\n"
2517
" `echo' interprets the following backslash-escaped characters:\n"
2518
" \\a\talert (bell)\n"
2520
" \\c\tsuppress further output\n"
2521
" \\e\tescape character\n"
2524
" \\r\tcarriage return\n"
2525
" \\t\thorizontal tab\n"
2526
" \\v\tvertical tab\n"
2527
" \\\\\tbackslash\n"
2528
" \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n"
2529
" \t0 to 3 octal digits\n"
2530
" \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n"
2531
" \tcan be one or two hex digits\n"
2534
" Returns success unless a write error occurs."
2539
"Write arguments to the standard output.\n"
2541
" Display the ARGs on the standard output followed by a newline.\n"
2544
" -n\tdo not append a newline\n"
2547
" Returns success unless a write error occurs."
2552
"Enable and disable shell builtins.\n"
2554
" Enables and disables builtin shell commands. Disabling allows you to\n"
2555
" execute a disk command which has the same name as a shell builtin\n"
2556
" without using a full pathname.\n"
2559
" -a\tprint a list of builtins showing whether or not each is enabled\n"
2560
" -n\tdisable each NAME or display a list of disabled builtins\n"
2561
" -p\tprint the list of builtins in a reusable format\n"
2562
" -s\tprint only the names of Posix `special' builtins\n"
2564
" Options controlling dynamic loading:\n"
2565
" -f\tLoad builtin NAME from shared object FILENAME\n"
2566
" -d\tRemove a builtin loaded with -f\n"
2568
" Without options, each NAME is enabled.\n"
2570
" To use the `test' found in $PATH instead of the shell builtin\n"
2571
" version, type `enable -n test'.\n"
2574
" Returns success unless NAME is not a shell builtin or an error occurs."
2579
"Execute arguments as a shell command.\n"
2581
" Combine ARGs into a single string, use the result as input to the "
2583
" and execute the resulting commands.\n"
2586
" Returns exit status of command or success if command is null."
2591
"Parse option arguments.\n"
2593
" Getopts is used by shell procedures to parse positional parameters\n"
2596
" OPTSTRING contains the option letters to be recognized; if a letter\n"
2597
" is followed by a colon, the option is expected to have an argument,\n"
2598
" which should be separated from it by white space.\n"
2600
" Each time it is invoked, getopts will place the next option in the\n"
2601
" shell variable $name, initializing name if it does not exist, and\n"
2602
" the index of the next argument to be processed into the shell\n"
2603
" variable OPTIND. OPTIND is initialized to 1 each time the shell or\n"
2604
" a shell script is invoked. When an option requires an argument,\n"
2605
" getopts places that argument into the shell variable OPTARG.\n"
2607
" getopts reports errors in one of two ways. If the first character\n"
2608
" of OPTSTRING is a colon, getopts uses silent error reporting. In\n"
2609
" this mode, no error messages are printed. If an invalid option is\n"
2610
" seen, getopts places the option character found into OPTARG. If a\n"
2611
" required argument is not found, getopts places a ':' into NAME and\n"
2612
" sets OPTARG to the option character found. If getopts is not in\n"
2613
" silent mode, and an invalid option is seen, getopts places '?' into\n"
2614
" NAME and unsets OPTARG. If a required argument is not found, a '?'\n"
2615
" is placed in NAME, OPTARG is unset, and a diagnostic message is\n"
2618
" If the shell variable OPTERR has the value 0, getopts disables the\n"
2619
" printing of error messages, even if the first character of\n"
2620
" OPTSTRING is not a colon. OPTERR has the value 1 by default.\n"
2622
" Getopts normally parses the positional parameters ($0 - $9), but if\n"
2623
" more arguments are given, they are parsed instead.\n"
2626
" Returns success if an option is found; fails if the end of options is\n"
2627
" encountered or an error occurs."
2632
"Replace the shell with the given command.\n"
2634
" Execute COMMAND, replacing this shell with the specified program.\n"
2635
" ARGUMENTS become the arguments to COMMAND. If COMMAND is not "
2637
" any redirections take effect in the current shell.\n"
2640
" -a name\tpass NAME as the zeroth argument to COMMAND\n"
2641
" -c\t\texecute COMMAND with an empty environment\n"
2642
" -l\t\tplace a dash in the zeroth argument to COMMAND\n"
2644
" If the command cannot be executed, a non-interactive shell exits, "
2646
" the shell option `execfail' is set.\n"
2649
" Returns success unless COMMAND is not found or a redirection error "
2657
" Exits the shell with a status of N. If N is omitted, the exit status\n"
2658
" is that of the last command executed."
2663
"Exit a login shell.\n"
2665
" Exits a login shell with exit status N. Returns an error if not "
2667
" in a login shell."
2672
"Display or execute commands from the history list.\n"
2674
" fc is used to list or edit and re-execute commands from the history "
2676
" FIRST and LAST can be numbers specifying the range, or FIRST can be a\n"
2677
" string, which means the most recent command beginning with that\n"
2681
" -e ENAME\tselect which editor to use. Default is FCEDIT, then "
2684
" -l \tlist lines instead of editing\n"
2685
" -n\tomit line numbers when listing\n"
2686
" -r\treverse the order of the lines (newest listed first)\n"
2688
" With the `fc -s [pat=rep ...] [command]' format, COMMAND is\n"
2689
" re-executed after the substitution OLD=NEW is performed.\n"
2691
" A useful alias to use with this is r='fc -s', so that typing `r cc'\n"
2692
" runs the last command beginning with `cc' and typing `r' re-executes\n"
2693
" the last command.\n"
2696
" Returns success or status of executed command; non-zero if an error "
2702
"Move job to the foreground.\n"
2704
" Place the job identified by JOB_SPEC in the foreground, making it the\n"
2705
" current job. If JOB_SPEC is not present, the shell's notion of the\n"
2706
" current job is used.\n"
2709
" Status of command placed in foreground, or failure if an error occurs."
2714
"Move jobs to the background.\n"
2716
" Place the jobs identified by each JOB_SPEC in the background, as if "
2718
" had been started with `&'. If JOB_SPEC is not present, the shell's "
2720
" of the current job is used.\n"
2723
" Returns success unless job control is not enabled or an error occurs."
2728
"Remember or display program locations.\n"
2730
" Determine and remember the full pathname of each command NAME. If\n"
2731
" no arguments are given, information about remembered commands is "
2735
" -d\t\tforget the remembered location of each NAME\n"
2736
" -l\t\tdisplay in a format that may be reused as input\n"
2737
" -p pathname\tuse PATHNAME is the full pathname of NAME\n"
2738
" -r\t\tforget all remembered locations\n"
2739
" -t\t\tprint the remembered location of each NAME, preceding\n"
2740
" \t\teach location with the corresponding NAME if multiple\n"
2741
" \t\tNAMEs are given\n"
2743
" NAME\t\tEach NAME is searched for in $PATH and added to the list\n"
2744
" \t\tof remembered commands.\n"
2747
" Returns success unless NAME is not found or an invalid option is given."
2752
"Display information about builtin commands.\n"
2754
" Displays brief summaries of builtin commands. If PATTERN is\n"
2755
" specified, gives detailed help on all commands matching PATTERN,\n"
2756
" otherwise the list of help topics is printed.\n"
2759
" -d\toutput short description for each topic\n"
2760
" -m\tdisplay usage in pseudo-manpage format\n"
2761
" -s\toutput only a short usage synopsis for each topic matching\n"
2765
" PATTERN\tPattern specifiying a help topic\n"
2768
" Returns success unless PATTERN is not found or an invalid option is "
2774
"Display or manipulate the history list.\n"
2776
" Display the history list with line numbers, prefixing each modified\n"
2777
" entry with a `*'. An argument of N lists only the last N entries.\n"
2780
" -c\tclear the history list by deleting all of the entries\n"
2781
" -d offset\tdelete the history entry at offset OFFSET.\n"
2783
" -a\tappend history lines from this session to the history file\n"
2784
" -n\tread all history lines not already read from the history file\n"
2785
" -r\tread the history file and append the contents to the history\n"
2787
" -w\twrite the current history to the history file\n"
2788
" \tand append them to the history list\n"
2790
" -p\tperform history expansion on each ARG and display the result\n"
2791
" \twithout storing it in the history list\n"
2792
" -s\tappend the ARGs to the history list as a single entry\n"
2794
" If FILENAME is given, it is used as the history file. Otherwise,\n"
2795
" if $HISTFILE has a value, that is used, else ~/.bash_history.\n"
2797
" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n"
2798
" as a format string for strftime(3) to print the time stamp associated\n"
2799
" with each displayed history entry. No time stamps are printed "
2803
" Returns success unless an invalid option is given or an error occurs."
2808
"Display status of jobs.\n"
2810
" Lists the active jobs. JOBSPEC restricts output to that job.\n"
2811
" Without options, the status of all active jobs is displayed.\n"
2814
" -l\tlists process IDs in addition to the normal information\n"
2815
" -n\tlist only processes that have changed status since the last\n"
2817
" -p\tlists process IDs only\n"
2818
" -r\trestrict output to running jobs\n"
2819
" -s\trestrict output to stopped jobs\n"
2821
" If -x is supplied, COMMAND is run after all job specifications that\n"
2822
" appear in ARGS have been replaced with the process ID of that job's\n"
2823
" process group leader.\n"
2826
" Returns success unless an invalid option is given or an error occurs.\n"
2827
" If -x is used, returns the exit status of COMMAND."
2832
"Remove jobs from current shell.\n"
2834
" Removes each JOBSPEC argument from the table of active jobs. Without\n"
2835
" any JOBSPECs, the shell uses its notion of the current job.\n"
2838
" -a\tremove all jobs if JOBSPEC is not supplied\n"
2839
" -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n"
2840
" \tshell receives a SIGHUP\n"
2841
" -r\tremove only running jobs\n"
2844
" Returns success unless an invalid option or JOBSPEC is given."
2849
"Send a signal to a job.\n"
2851
" Send the processes identified by PID or JOBSPEC the signal named by\n"
2852
" SIGSPEC or SIGNUM. If neither SIGSPEC nor SIGNUM is present, then\n"
2853
" SIGTERM is assumed.\n"
2856
" -s sig\tSIG is a signal name\n"
2857
" -n sig\tSIG is a signal number\n"
2858
" -l\tlist the signal names; if arguments follow `-l' they are\n"
2859
" \tassumed to be signal numbers for which names should be listed\n"
2861
" Kill is a shell builtin for two reasons: it allows job IDs to be used\n"
2862
" instead of process IDs, and allows processes to be killed if the limit\n"
2863
" on processes that you can create is reached.\n"
2866
" Returns success unless an invalid option is given or an error occurs."
2871
"Evaluate arithmetic expressions.\n"
2873
" Evaluate each ARG as an arithmetic expression. Evaluation is done in\n"
2874
" fixed-width integers with no check for overflow, though division by 0\n"
2875
" is trapped and flagged as an error. The following list of operators is\n"
2876
" grouped into levels of equal-precedence operators. The levels are "
2878
" in order of decreasing precedence.\n"
2880
" \tid++, id--\tvariable post-increment, post-decrement\n"
2881
" \t++id, --id\tvariable pre-increment, pre-decrement\n"
2882
" \t-, +\t\tunary minus, plus\n"
2883
" \t!, ~\t\tlogical and bitwise negation\n"
2884
" \t**\t\texponentiation\n"
2885
" \t*, /, %\t\tmultiplication, division, remainder\n"
2886
" \t+, -\t\taddition, subtraction\n"
2887
" \t<<, >>\t\tleft and right bitwise shifts\n"
2888
" \t<=, >=, <, >\tcomparison\n"
2889
" \t==, !=\t\tequality, inequality\n"
2890
" \t&\t\tbitwise AND\n"
2891
" \t^\t\tbitwise XOR\n"
2892
" \t|\t\tbitwise OR\n"
2893
" \t&&\t\tlogical AND\n"
2894
" \t||\t\tlogical OR\n"
2895
" \texpr ? expr : expr\n"
2896
" \t\t\tconditional operator\n"
2897
" \t=, *=, /=, %=,\n"
2898
" \t+=, -=, <<=, >>=,\n"
2899
" \t&=, ^=, |=\tassignment\n"
2901
" Shell variables are allowed as operands. The name of the variable\n"
2902
" is replaced by its value (coerced to a fixed-width integer) within\n"
2903
" an expression. The variable need not have its integer attribute\n"
2904
" turned on to be used in an expression.\n"
2906
" Operators are evaluated in order of precedence. Sub-expressions in\n"
2907
" parentheses are evaluated first and may override the precedence\n"
2911
" If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise.."
2916
"Read a line from the standard input and split it into fields.\n"
2918
" Reads a single line from the standard input, or from file descriptor FD\n"
2919
" if the -u option is supplied. The line is split into fields as with "
2921
" splitting, and the first word is assigned to the first NAME, the second\n"
2922
" word to the second NAME, and so on, with any leftover words assigned to\n"
2923
" the last NAME. Only the characters found in $IFS are recognized as "
2927
" If no NAMEs are supplied, the line read is stored in the REPLY "
2931
" -a array\tassign the words read to sequential indices of the array\n"
2932
" \t\tvariable ARRAY, starting at zero\n"
2933
" -d delim\tcontinue until the first character of DELIM is read, rather\n"
2934
" \t\tthan newline\n"
2935
" -e\t\tuse Readline to obtain the line in an interactive shell\n"
2936
" -i text\tUse TEXT as the initial text for Readline\n"
2937
" -n nchars\treturn after reading NCHARS characters rather than waiting\n"
2938
" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n"
2939
" \t\tcharacters are read before the delimiter\n"
2940
" -N nchars\treturn only after reading exactly NCHARS characters, "
2942
" \t\tEOF is encountered or read times out, ignoring any delimiter\n"
2943
" -p prompt\toutput the string PROMPT without a trailing newline before\n"
2944
" \t\tattempting to read\n"
2945
" -r\t\tdo not allow backslashes to escape any characters\n"
2946
" -s\t\tdo not echo input coming from a terminal\n"
2947
" -t timeout\ttime out and return failure if a complete line of input "
2949
" \t\tnot read withint TIMEOUT seconds. The value of the TMOUT\n"
2950
" \t\tvariable is the default timeout. TIMEOUT may be a\n"
2951
" \t\tfractional number. If TIMEOUT is 0, read returns success only\n"
2952
" \t\tif input is available on the specified file descriptor. The\n"
2953
" \t\texit status is greater than 128 if the timeout is exceeded\n"
2954
" -u fd\t\tread from file descriptor FD instead of the standard input\n"
2957
" The return code is zero, unless end-of-file is encountered, read times "
2959
" or an invalid file descriptor is supplied as the argument to -u."
2964
"Return from a shell function.\n"
2966
" Causes a function or sourced script to exit with the return value\n"
2967
" specified by N. If N is omitted, the return status is that of the\n"
2968
" last command executed within the function or script.\n"
2971
" Returns N, or failure if the shell is not executing a function or script."
2976
"Set or unset values of shell options and positional parameters.\n"
2978
" Change the value of shell attributes and positional parameters, or\n"
2979
" display the names and values of shell variables.\n"
2982
" -a Mark variables which are modified or created for export.\n"
2983
" -b Notify of job termination immediately.\n"
2984
" -e Exit immediately if a command exits with a non-zero status.\n"
2985
" -f Disable file name generation (globbing).\n"
2986
" -h Remember the location of commands as they are looked up.\n"
2987
" -k All assignment arguments are placed in the environment for a\n"
2988
" command, not just those that precede the command name.\n"
2989
" -m Job control is enabled.\n"
2990
" -n Read commands but do not execute them.\n"
2992
" Set the variable corresponding to option-name:\n"
2993
" allexport same as -a\n"
2994
" braceexpand same as -B\n"
2995
" emacs use an emacs-style line editing interface\n"
2996
" errexit same as -e\n"
2997
" errtrace same as -E\n"
2998
" functrace same as -T\n"
2999
" hashall same as -h\n"
3000
" histexpand same as -H\n"
3001
" history enable command history\n"
3002
" ignoreeof the shell will not exit upon reading EOF\n"
3003
" interactive-comments\n"
3004
" allow comments to appear in interactive commands\n"
3005
" keyword same as -k\n"
3006
" monitor same as -m\n"
3007
" noclobber same as -C\n"
3008
" noexec same as -n\n"
3009
" noglob same as -f\n"
3010
" nolog currently accepted but ignored\n"
3011
" notify same as -b\n"
3012
" nounset same as -u\n"
3013
" onecmd same as -t\n"
3014
" physical same as -P\n"
3015
" pipefail the return value of a pipeline is the status of\n"
3016
" the last command to exit with a non-zero status,\n"
3017
" or zero if no command exited with a non-zero "
3019
" posix change the behavior of bash where the default\n"
3020
" operation differs from the Posix standard to\n"
3021
" match the standard\n"
3022
" privileged same as -p\n"
3023
" verbose same as -v\n"
3024
" vi use a vi-style line editing interface\n"
3025
" xtrace same as -x\n"
3026
" -p Turned on whenever the real and effective user ids do not match.\n"
3027
" Disables processing of the $ENV file and importing of shell\n"
3028
" functions. Turning this option off causes the effective uid and\n"
3029
" gid to be set to the real uid and gid.\n"
3030
" -t Exit after reading and executing one command.\n"
3031
" -u Treat unset variables as an error when substituting.\n"
3032
" -v Print shell input lines as they are read.\n"
3033
" -x Print commands and their arguments as they are executed.\n"
3034
" -B the shell will perform brace expansion\n"
3035
" -C If set, disallow existing regular files to be overwritten\n"
3036
" by redirection of output.\n"
3037
" -E If set, the ERR trap is inherited by shell functions.\n"
3038
" -H Enable ! style history substitution. This flag is on\n"
3039
" by default when the shell is interactive.\n"
3040
" -P If set, do not follow symbolic links when executing commands\n"
3041
" such as cd which change the current directory.\n"
3042
" -T If set, the DEBUG trap is inherited by shell functions.\n"
3043
" - Assign any remaining arguments to the positional parameters.\n"
3044
" The -x and -v options are turned off.\n"
3046
" Using + rather than - causes these flags to be turned off. The\n"
3047
" flags can also be used upon invocation of the shell. The current\n"
3048
" set of flags may be found in $-. The remaining n ARGs are positional\n"
3049
" parameters and are assigned, in order, to $1, $2, .. $n. If no\n"
3050
" ARGs are given, all shell variables are printed.\n"
3053
" Returns success unless an invalid option is given."
3058
"Unset values and attributes of shell variables and functions.\n"
3060
" For each NAME, remove the corresponding variable or function.\n"
3063
" -f\ttreat each NAME as a shell function\n"
3064
" -v\ttreat each NAME as a shell variable\n"
3066
" Without options, unset first tries to unset a variable, and if that "
3068
" tries to unset a function.\n"
3070
" Some variables cannot be unset; also see `readonly'.\n"
3073
" Returns success unless an invalid option is given or a NAME is read-only."
3078
"Set export attribute for shell variables.\n"
3080
" Marks each NAME for automatic export to the environment of subsequently\n"
3081
" executed commands. If VALUE is supplied, assign VALUE before "
3085
" -f\trefer to shell functions\n"
3086
" -n\tremove the export property from each NAME\n"
3087
" -p\tdisplay a list of all exported variables and functions\n"
3089
" An argument of `--' disables further option processing.\n"
3092
" Returns success unless an invalid option is given or NAME is invalid."
3097
"Mark shell variables as unchangeable.\n"
3099
" Mark each NAME as read-only; the values of these NAMEs may not be\n"
3100
" changed by subsequent assignment. If VALUE is supplied, assign VALUE\n"
3101
" before marking as read-only.\n"
3104
" -a\trefer to indexed array variables\n"
3105
" -A\trefer to associative array variables\n"
3106
" -f\trefer to shell functions\n"
3107
" -p\tdisplay a list of all readonly variables and functions\n"
3109
" An argument of `--' disables further option processing.\n"
3112
" Returns success unless an invalid option is given or NAME is invalid."
3117
"Shift positional parameters.\n"
3119
" Rename the positional parameters $N+1,$N+2 ... to $1,$2 ... If N is\n"
3120
" not given, it is assumed to be 1.\n"
3123
" Returns success unless N is negative or greater than $#."
3126
#: builtins.c:1176 builtins.c:1191
3128
"Execute commands from a file in the current shell.\n"
3130
" Read and execute commands from FILENAME in the current shell. The\n"
3131
" entries in $PATH are used to find the directory containing FILENAME.\n"
3132
" If any ARGUMENTS are supplied, they become the positional parameters\n"
3133
" when FILENAME is executed.\n"
3136
" Returns the status of the last command executed in FILENAME; fails if\n"
3137
" FILENAME cannot be read."
3142
"Suspend shell execution.\n"
3144
" Suspend the execution of this shell until it receives a SIGCONT signal.\n"
3145
" Unless forced, login shells cannot be suspended.\n"
3148
" -f\tforce the suspend, even if the shell is a login shell\n"
3151
" Returns success unless job control is not enabled or an error occurs."
3156
"Evaluate conditional expression.\n"
3158
" Exits with a status of 0 (true) or 1 (false) depending on\n"
3159
" the evaluation of EXPR. Expressions may be unary or binary. Unary\n"
3160
" expressions are often used to examine the status of a file. There\n"
3161
" are string operators as well, and numeric comparison operators.\n"
3163
" File operators:\n"
3165
" -a FILE True if file exists.\n"
3166
" -b FILE True if file is block special.\n"
3167
" -c FILE True if file is character special.\n"
3168
" -d FILE True if file is a directory.\n"
3169
" -e FILE True if file exists.\n"
3170
" -f FILE True if file exists and is a regular file.\n"
3171
" -g FILE True if file is set-group-id.\n"
3172
" -h FILE True if file is a symbolic link.\n"
3173
" -L FILE True if file is a symbolic link.\n"
3174
" -k FILE True if file has its `sticky' bit set.\n"
3175
" -p FILE True if file is a named pipe.\n"
3176
" -r FILE True if file is readable by you.\n"
3177
" -s FILE True if file exists and is not empty.\n"
3178
" -S FILE True if file is a socket.\n"
3179
" -t FD True if FD is opened on a terminal.\n"
3180
" -u FILE True if the file is set-user-id.\n"
3181
" -w FILE True if the file is writable by you.\n"
3182
" -x FILE True if the file is executable by you.\n"
3183
" -O FILE True if the file is effectively owned by you.\n"
3184
" -G FILE True if the file is effectively owned by your group.\n"
3185
" -N FILE True if the file has been modified since it was last "
3188
" FILE1 -nt FILE2 True if file1 is newer than file2 (according to\n"
3189
" modification date).\n"
3191
" FILE1 -ot FILE2 True if file1 is older than file2.\n"
3193
" FILE1 -ef FILE2 True if file1 is a hard link to file2.\n"
3195
" String operators:\n"
3197
" -z STRING True if string is empty.\n"
3200
" STRING True if string is not empty.\n"
3202
" STRING1 = STRING2\n"
3203
" True if the strings are equal.\n"
3204
" STRING1 != STRING2\n"
3205
" True if the strings are not equal.\n"
3206
" STRING1 < STRING2\n"
3207
" True if STRING1 sorts before STRING2 "
3208
"lexicographically.\n"
3209
" STRING1 > STRING2\n"
3210
" True if STRING1 sorts after STRING2 lexicographically.\n"
3212
" Other operators:\n"
3214
" -o OPTION True if the shell option OPTION is enabled.\n"
3215
" ! EXPR True if expr is false.\n"
3216
" EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n"
3217
" EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n"
3219
" arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne,\n"
3220
" -lt, -le, -gt, or -ge.\n"
3222
" Arithmetic binary operators return true if ARG1 is equal, not-equal,\n"
3223
" less-than, less-than-or-equal, greater-than, or greater-than-or-equal\n"
3227
" Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n"
3228
" false or an invalid argument is given."
3233
"Evaluate conditional expression.\n"
3235
" This is a synonym for the \"test\" builtin, but the last argument must\n"
3236
" be a literal `]', to match the opening `['."
3241
"Display process times.\n"
3243
" Prints the accumulated user and system times for the shell and all of "
3245
" child processes.\n"
3253
"Trap signals and other events.\n"
3255
" Defines and activates handlers to be run when the shell receives "
3257
" or other conditions.\n"
3259
" ARG is a command to be read and executed when the shell receives the\n"
3260
" signal(s) SIGNAL_SPEC. If ARG is absent (and a single SIGNAL_SPEC\n"
3261
" is supplied) or `-', each specified signal is reset to its original\n"
3262
" value. If ARG is the null string each SIGNAL_SPEC is ignored by the\n"
3263
" shell and by the commands it invokes.\n"
3265
" If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. "
3267
" a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command.\n"
3269
" If no arguments are supplied, trap prints the list of commands "
3271
" with each signal.\n"
3274
" -l\tprint a list of signal names and their corresponding numbers\n"
3275
" -p\tdisplay the trap commands associated with each SIGNAL_SPEC\n"
3277
" Each SIGNAL_SPEC is either a signal name in <signal.h> or a signal "
3279
" Signal names are case insensitive and the SIG prefix is optional. A\n"
3280
" signal may be sent to the shell with \"kill -signal $$\".\n"
3283
" Returns success unless a SIGSPEC is invalid or an invalid option is "
3289
"Display information about command type.\n"
3291
" For each NAME, indicate how it would be interpreted if used as a\n"
3295
" -a\tdisplay all locations containing an executable named NAME;\n"
3296
" \tincludes aliases, builtins, and functions, if and only if\n"
3297
" \tthe `-p' option is not also used\n"
3298
" -f\tsuppress shell function lookup\n"
3299
" -P\tforce a PATH search for each NAME, even if it is an alias,\n"
3300
" \tbuiltin, or function, and returns the name of the disk file\n"
3301
" \tthat would be executed\n"
3302
" -p\treturns either the name of the disk file that would be executed,\n"
3303
" \tor nothing if `type -t NAME' would not return `file'.\n"
3304
" -t\toutput a single word which is one of `alias', `keyword',\n"
3305
" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n"
3306
" \treserved word, shell function, shell builtin, disk file, or not\n"
3307
" \tfound, respectively\n"
3310
" NAME\tCommand name to be interpreted.\n"
3313
" Returns success if all of the NAMEs are found; fails if any are not "
3319
"Modify shell resource limits.\n"
3321
" Provides control over the resources available to the shell and "
3323
" it creates, on systems that allow such control.\n"
3326
" -S\tuse the `soft' resource limit\n"
3327
" -H\tuse the `hard' resource limit\n"
3328
" -a\tall current limits are reported\n"
3329
" -b\tthe socket buffer size\n"
3330
" -c\tthe maximum size of core files created\n"
3331
" -d\tthe maximum size of a process's data segment\n"
3332
" -e\tthe maximum scheduling priority (`nice')\n"
3333
" -f\tthe maximum size of files written by the shell and its children\n"
3334
" -i\tthe maximum number of pending signals\n"
3335
" -l\tthe maximum size a process may lock into memory\n"
3336
" -m\tthe maximum resident set size\n"
3337
" -n\tthe maximum number of open file descriptors\n"
3338
" -p\tthe pipe buffer size\n"
3339
" -q\tthe maximum number of bytes in POSIX message queues\n"
3340
" -r\tthe maximum real-time scheduling priority\n"
3341
" -s\tthe maximum stack size\n"
3342
" -t\tthe maximum amount of cpu time in seconds\n"
3343
" -u\tthe maximum number of user processes\n"
3344
" -v\tthe size of virtual memory\n"
3345
" -x\tthe maximum number of file locks\n"
3347
" If LIMIT is given, it is the new value of the specified resource; the\n"
3348
" special LIMIT values `soft', `hard', and `unlimited' stand for the\n"
3349
" current soft limit, the current hard limit, and no limit, respectively.\n"
3350
" Otherwise, the current value of the specified resource is printed. If\n"
3351
" no option is given, then -f is assumed.\n"
3353
" Values are in 1024-byte increments, except for -t, which is in seconds,\n"
3354
" -p, which is in increments of 512 bytes, and -u, which is an unscaled\n"
3355
" number of processes.\n"
3358
" Returns success unless an invalid option is supplied or an error occurs."
3363
"Display or set file mode mask.\n"
3365
" Sets the user file-creation mask to MODE. If MODE is omitted, prints\n"
3366
" the current value of the mask.\n"
3368
" If MODE begins with a digit, it is interpreted as an octal number;\n"
3369
" otherwise it is a symbolic mode string like that accepted by chmod(1).\n"
3372
" -p\tif MODE is omitted, output in a form that may be reused as input\n"
3373
" -S\tmakes the output symbolic; otherwise an octal number is output\n"
3376
" Returns success unless MODE is invalid or an invalid option is given."
3381
"Wait for job completion and return exit status.\n"
3383
" Waits for the process identified by ID, which may be a process ID or a\n"
3384
" job specification, and reports its termination status. If ID is not\n"
3385
" given, waits for all currently active child processes, and the return\n"
3386
" status is zero. If ID is a a job specification, waits for all "
3388
" in the job's pipeline.\n"
3391
" Returns the status of ID; fails if ID is invalid or an invalid option "
3398
"Wait for process completion and return exit status.\n"
3400
" Waits for the specified process and reports its termination status. If\n"
3401
" PID is not given, all currently active child processes are waited for,\n"
3402
" and the return code is zero. PID must be a process ID.\n"
3405
" Returns the status of ID; fails if ID is invalid or an invalid option "
3412
"Execute commands for each member in a list.\n"
3414
" The `for' loop executes a sequence of commands for each member in a\n"
3415
" list of items. If `in WORDS ...;' is not present, then `in \"$@\"' is\n"
3416
" assumed. For each element in WORDS, NAME is set to that element, and\n"
3417
" the COMMANDS are executed.\n"
3420
" Returns the status of the last command executed."
3425
"Arithmetic for loop.\n"
3429
" \twhile (( EXP2 )); do\n"
3433
" EXP1, EXP2, and EXP3 are arithmetic expressions. If any expression is\n"
3434
" omitted, it behaves as if it evaluates to 1.\n"
3437
" Returns the status of the last command executed."
3442
"Select words from a list and execute commands.\n"
3444
" The WORDS are expanded, generating a list of words. The\n"
3445
" set of expanded words is printed on the standard error, each\n"
3446
" preceded by a number. If `in WORDS' is not present, `in \"$@\"'\n"
3447
" is assumed. The PS3 prompt is then displayed and a line read\n"
3448
" from the standard input. If the line consists of the number\n"
3449
" corresponding to one of the displayed words, then NAME is set\n"
3450
" to that word. If the line is empty, WORDS and the prompt are\n"
3451
" redisplayed. If EOF is read, the command completes. Any other\n"
3452
" value read causes NAME to be set to null. The line read is saved\n"
3453
" in the variable REPLY. COMMANDS are executed after each selection\n"
3454
" until a break command is executed.\n"
3457
" Returns the status of the last command executed."
3462
"Report time consumed by pipeline's execution.\n"
3464
" Execute PIPELINE and print a summary of the real time, user CPU time,\n"
3465
" and system CPU time spent executing PIPELINE when it terminates.\n"
3468
" -p\tprint the timing summary in the portable Posix format\n"
3470
" The value of the TIMEFORMAT variable is used as the output format.\n"
3473
" The return status is the return status of PIPELINE."
3478
"Execute commands based on pattern matching.\n"
3480
" Selectively execute COMMANDS based upon WORD matching PATTERN. The\n"
3481
" `|' is used to separate multiple patterns.\n"
3484
" Returns the status of the last command executed."
3489
"Execute commands based on conditional.\n"
3491
" The `if COMMANDS' list is executed. If its exit status is zero, then "
3493
" `then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list "
3495
" executed in turn, and if its exit status is zero, the corresponding\n"
3496
" `then COMMANDS' list is executed and the if command completes. "
3498
" the `else COMMANDS' list is executed, if present. The exit status of "
3500
" entire construct is the exit status of the last command executed, or "
3502
" if no condition tested true.\n"
3505
" Returns the status of the last command executed."
3510
"Execute commands as long as a test succeeds.\n"
3512
" Expand and execute COMMANDS as long as the final command in the\n"
3513
" `while' COMMANDS has an exit status of zero.\n"
3516
" Returns the status of the last command executed."
3521
"Execute commands as long as a test does not succeed.\n"
3523
" Expand and execute COMMANDS as long as the final command in the\n"
3524
" `until' COMMANDS has an exit status which is not zero.\n"
3527
" Returns the status of the last command executed."
3532
"Create a coprocess named NAME.\n"
3534
" Execute COMMAND asynchronously, with the standard output and standard\n"
3535
" input of the command connected via a pipe to file descriptors assigned\n"
3536
" to indices 0 and 1 of an array variable NAME in the executing shell.\n"
3537
" The default NAME is \"COPROC\".\n"
3540
" Returns the exit status of COMMAND."
3545
"Define shell function.\n"
3547
" Create a shell function named NAME. When invoked as a simple command,\n"
3548
" NAME runs COMMANDs in the calling shell's context. When NAME is "
3550
" the arguments are passed to the function as $1...$n, and the function's\n"
3551
" name is in $FUNCNAME.\n"
3554
" Returns success unless NAME is readonly."
3559
"Group commands as a unit.\n"
3561
" Run a set of commands in a group. This is one way to redirect an\n"
3562
" entire set of commands.\n"
3565
" Returns the status of the last command executed."
3570
"Resume job in foreground.\n"
3572
" Equivalent to the JOB_SPEC argument to the `fg' command. Resume a\n"
3573
" stopped or background job. JOB_SPEC can specify either a job name\n"
3574
" or a job number. Following JOB_SPEC with a `&' places the job in\n"
3575
" the background, as if the job specification had been supplied as an\n"
3576
" argument to `bg'.\n"
3579
" Returns the status of the resumed job."
3584
"Evaluate arithmetic expression.\n"
3586
" The EXPRESSION is evaluated according to the rules for arithmetic\n"
3587
" evaluation. Equivalent to \"let EXPRESSION\".\n"
3590
" Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise."
3595
"Execute conditional command.\n"
3597
" Returns a status of 0 or 1 depending on the evaluation of the "
3599
" expression EXPRESSION. Expressions are composed of the same primaries "
3601
" by the `test' builtin, and may be combined using the following "
3604
" ( EXPRESSION )\tReturns the value of EXPRESSION\n"
3605
" ! EXPRESSION\t\tTrue if EXPRESSION is false; else false\n"
3606
" EXPR1 && EXPR2\tTrue if both EXPR1 and EXPR2 are true; else false\n"
3607
" EXPR1 || EXPR2\tTrue if either EXPR1 or EXPR2 is true; else false\n"
3609
" When the `==' and `!=' operators are used, the string to the right of\n"
3610
" the operator is used as a pattern and pattern matching is performed.\n"
3611
" When the `=~' operator is used, the string to the right of the operator\n"
3612
" is matched as a regular expression.\n"
3614
" The && and || operators do not evaluate EXPR2 if EXPR1 is sufficient to\n"
3615
" determine the expression's value.\n"
3618
" 0 or 1 depending on value of EXPRESSION."
3623
"Common shell variable names and usage.\n"
3625
" BASH_VERSION\tVersion information for this Bash.\n"
3626
" CDPATH\tA colon-separated list of directories to search\n"
3627
" \t\tfor directories given as arguments to `cd'.\n"
3628
" GLOBIGNORE\tA colon-separated list of patterns describing filenames to\n"
3629
" \t\tbe ignored by pathname expansion.\n"
3630
" HISTFILE\tThe name of the file where your command history is stored.\n"
3631
" HISTFILESIZE\tThe maximum number of lines this file can contain.\n"
3632
" HISTSIZE\tThe maximum number of history lines that a running\n"
3633
" \t\tshell can access.\n"
3634
" HOME\tThe complete pathname to your login directory.\n"
3635
" HOSTNAME\tThe name of the current host.\n"
3636
" HOSTTYPE\tThe type of CPU this version of Bash is running under.\n"
3637
" IGNOREEOF\tControls the action of the shell on receipt of an EOF\n"
3638
" \t\tcharacter as the sole input. If set, then the value\n"
3639
" \t\tof it is the number of EOF characters that can be seen\n"
3640
" \t\tin a row on an empty line before the shell will exit\n"
3641
" \t\t(default 10). When unset, EOF signifies the end of input.\n"
3642
" MACHTYPE\tA string describing the current system Bash is running on.\n"
3643
" MAILCHECK\tHow often, in seconds, Bash checks for new mail.\n"
3644
" MAILPATH\tA colon-separated list of filenames which Bash checks\n"
3645
" \t\tfor new mail.\n"
3646
" OSTYPE\tThe version of Unix this version of Bash is running on.\n"
3647
" PATH\tA colon-separated list of directories to search when\n"
3648
" \t\tlooking for commands.\n"
3649
" PROMPT_COMMAND\tA command to be executed before the printing of each\n"
3650
" \t\tprimary prompt.\n"
3651
" PS1\t\tThe primary prompt string.\n"
3652
" PS2\t\tThe secondary prompt string.\n"
3653
" PWD\t\tThe full pathname of the current directory.\n"
3654
" SHELLOPTS\tA colon-separated list of enabled shell options.\n"
3655
" TERM\tThe name of the current terminal type.\n"
3656
" TIMEFORMAT\tThe output format for timing statistics displayed by the\n"
3657
" \t\t`time' reserved word.\n"
3658
" auto_resume\tNon-null means a command word appearing on a line by\n"
3659
" \t\titself is first looked for in the list of currently\n"
3660
" \t\tstopped jobs. If found there, that job is foregrounded.\n"
3661
" \t\tA value of `exact' means that the command word must\n"
3662
" \t\texactly match a command in the list of stopped jobs. A\n"
3663
" \t\tvalue of `substring' means that the command word must\n"
3664
" \t\tmatch a substring of the job. Any other value means that\n"
3665
" \t\tthe command must be a prefix of a stopped job.\n"
3666
" histchars\tCharacters controlling history expansion and quick\n"
3667
" \t\tsubstitution. The first character is the history\n"
3668
" \t\tsubstitution character, usually `!'. The second is\n"
3669
" \t\tthe `quick substitution' character, usually `^'. The\n"
3670
" \t\tthird is the `history comment' character, usually `#'.\n"
3671
" HISTIGNORE\tA colon-separated list of patterns used to decide which\n"
3672
" \t\tcommands should be saved on the history list.\n"
3677
"Add directories to stack.\n"
3679
" Adds a directory to the top of the directory stack, or rotates\n"
3680
" the stack, making the new top of the stack the current working\n"
3681
" directory. With no arguments, exchanges the top two directories.\n"
3684
" -n\tSuppresses the normal change of directory when adding\n"
3685
" \tdirectories to the stack, so only the stack is manipulated.\n"
3688
" +N\tRotates the stack so that the Nth directory (counting\n"
3689
" \tfrom the left of the list shown by `dirs', starting with\n"
3690
" \tzero) is at the top.\n"
3692
" -N\tRotates the stack so that the Nth directory (counting\n"
3693
" \tfrom the right of the list shown by `dirs', starting with\n"
3694
" \tzero) is at the top.\n"
3696
" dir\tAdds DIR to the directory stack at the top, making it the\n"
3697
" \tnew current working directory.\n"
3699
" The `dirs' builtin displays the directory stack.\n"
3702
" Returns success unless an invalid argument is supplied or the directory\n"
3708
"Remove directories from stack.\n"
3710
" Removes entries from the directory stack. With no arguments, removes\n"
3711
" the top directory from the stack, and changes to the new top directory.\n"
3714
" -n\tSuppresses the normal change of directory when removing\n"
3715
" \tdirectories from the stack, so only the stack is manipulated.\n"
3718
" +N\tRemoves the Nth entry counting from the left of the list\n"
3719
" \tshown by `dirs', starting with zero. For example: `popd +0'\n"
3720
" \tremoves the first directory, `popd +1' the second.\n"
3722
" -N\tRemoves the Nth entry counting from the right of the list\n"
3723
" \tshown by `dirs', starting with zero. For example: `popd -0'\n"
3724
" \tremoves the last directory, `popd -1' the next to last.\n"
3726
" The `dirs' builtin displays the directory stack.\n"
3729
" Returns success unless an invalid argument is supplied or the directory\n"
3735
"Display directory stack.\n"
3737
" Display the list of currently remembered directories. Directories\n"
3738
" find their way onto the list with the `pushd' command; you can get\n"
3739
" back up through the list with the `popd' command.\n"
3742
" -c\tclear the directory stack by deleting all of the elements\n"
3743
" -l\tdo not print tilde-prefixed versions of directories relative\n"
3744
" \tto your home directory\n"
3745
" -p\tprint the directory stack with one entry per line\n"
3746
" -v\tprint the directory stack with one entry per line prefixed\n"
3747
" \twith its position in the stack\n"
3750
" +N\tDisplays the Nth entry counting from the left of the list shown "
3752
" \tdirs when invoked without options, starting with zero.\n"
3754
" -N\tDisplays the Nth entry counting from the right of the list shown "
3756
" \tdirs when invoked without options, starting with zero.\n"
3759
" Returns success unless an invalid option is supplied or an error occurs."
3764
"Set and unset shell options.\n"
3766
" Change the setting of each shell option OPTNAME. Without any option\n"
3767
" arguments, list all shell options with an indication of whether or not "
3772
" -o\trestrict OPTNAMEs to those defined for use with `set -o'\n"
3773
" -p\tprint each shell option with an indication of its status\n"
3774
" -q\tsuppress output\n"
3775
" -s\tenable (set) each OPTNAME\n"
3776
" -u\tdisable (unset) each OPTNAME\n"
3779
" Returns success if OPTNAME is enabled; fails if an invalid option is\n"
3780
" given or OPTNAME is disabled."
3785
"Formats and prints ARGUMENTS under control of the FORMAT.\n"
3788
" -v var\tassign the output to shell variable VAR rather than\n"
3789
" \t\tdisplay it on the standard output\n"
3791
" FORMAT is a character string which contains three types of objects: "
3793
" characters, which are simply copied to standard output; character "
3795
" sequences, which are converted and copied to the standard output; and\n"
3796
" format specifications, each of which causes printing of the next "
3800
" In addition to the standard format specifications described in "
3802
" and printf(3), printf interprets:\n"
3804
" %b\texpand backslash escape sequences in the corresponding argument\n"
3805
" %q\tquote the argument in a way that can be reused as shell input\n"
3808
" Returns success unless an invalid option is given or a write or "
3815
"Specify how arguments are to be completed by Readline.\n"
3817
" For each NAME, specify how arguments are to be completed. If no "
3819
" are supplied, existing completion specifications are printed in a way "
3821
" allows them to be reused as input.\n"
3824
" -p\tprint existing completion specifications in a reusable format\n"
3825
" -r\tremove a completion specification for each NAME, or, if no\n"
3826
" \tNAMEs are supplied, all completion specifications\n"
3827
" -D\tapply the completions and actions as the default for commands\n"
3828
" \twithout any specific completion defined\n"
3829
" -E\tapply the completions and actions to \"empty\" commands --\n"
3830
" \tcompletion attempted on a blank line\n"
3832
" When completion is attempted, the actions are applied in the order the\n"
3833
" uppercase-letter options are listed above. The -D option takes\n"
3834
" precedence over -E.\n"
3837
" Returns success unless an invalid option is supplied or an error occurs."
3842
"Display possible completions depending on the options.\n"
3844
" Intended to be used from within a shell function generating possible\n"
3845
" completions. If the optional WORD argument is supplied, matches "
3847
" WORD are generated.\n"
3850
" Returns success unless an invalid option is supplied or an error occurs."
3855
"Modify or display completion options.\n"
3857
" Modify the completion options for each NAME, or, if no NAMEs are "
3859
" the completion currently begin executed. If no OPTIONs are givenm, "
3861
" the completion options for each NAME or the current completion "
3865
" \t-o option\tSet completion option OPTION for each NAME\n"
3866
" \t-D\t\tChange options for the \"default\" command completion\n"
3867
" \t-E\t\tChange options for the \"empty\" command completion\n"
3869
" Using `+o' instead of `-o' turns off the specified option.\n"
3873
" Each NAME refers to a command for which a completion specification must\n"
3874
" have previously been defined using the `complete' builtin. If no NAMEs\n"
3875
" are supplied, compopt must be called by a function currently generating\n"
3876
" completions, and the options for that currently-executing completion\n"
3877
" generator are modified.\n"
3880
" Returns success unless an invalid option is supplied or NAME does not\n"
3881
" have a completion specification defined."
3886
"Read lines from the standard input into an indexed array variable.\n"
3888
" Read lines from the standard input into the indexed array variable "
3890
" from file descriptor FD if the -u option is supplied. The variable "
3892
" is the default ARRAY.\n"
3895
" -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are "
3897
" -O origin\tBegin assigning to ARRAY at index ORIGIN. The default "
3899
" -s count \tDiscard the first COUNT lines read.\n"
3900
" -t\t\tRemove a trailing newline from each line read.\n"
3901
" -u fd\t\tRead lines from file descriptor FD instead of the standard "
3903
" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n"
3904
" -c quantum\tSpecify the number of lines read between each call to "
3908
" ARRAY\t\tArray variable name to use for file data.\n"
3910
" If -C is supplied without -c, the default quantum is 5000. When\n"
3911
" CALLBACK is evaluated, it is supplied the index of the next array\n"
3912
" element to be assigned as an additional argument.\n"
3914
" If not supplied with an explicit origin, mapfile will clear ARRAY "
3916
" assigning to it.\n"
3919
" Returns success unless an invalid option is given or ARRAY is readonly "
3921
" not an indexed array."
3926
"Read lines from a file into an array variable.\n"
3928
" A synonym for `mapfile'."