- fix call to strtoimax in legal_number; if ep == string when function
returns, the number was not converted, even if errno is not set.
Fix from Paul Jarc <prj@case.edu>
+
+ 9/11
+ ----
+[prayers for the victims of 9/11/2001]
+
+builtins/return.def
+ - call no_options, as Posix requires. This also has the effect of
+ disallowing negative return values unless they're prefixed by `--'
+
+ 9/12
+ ----
+
+
+ 9/13
+ ----
+builtins/bind.def
+ - add an error message when bind is used without line editing active,
+ instead of just returning an error status
+
+variables.c
+ - make sure make_local_variable never creates visible variables with
+ a value, whether or not a variable with the same name existed in a
+ previous context. This is consistent with ksh93. Fix from
+ <neil@s-z.org>
trap.c
- include jobs.h for extern declaration for run_sigchld_trap
+
+general.c
+ - fix call to strtoimax in legal_number; if ep == string when function
+ returns, the number was not converted, even if errno is not set.
+ Fix from Paul Jarc <prj@case.edu>
+
+ 9/11
+ ----
+[prayers for the victims of 9/11/2001]
+
+builtins/return.def
+ - call no_options, as Posix requires. This also has the effect of
+ disallowing negative return values unless they're prefixed by `--'
+
+ 9/12
+ ----
+
+
+ 9/13
+ ----
+builtins/bind.def
+ - add an error message when bind is used without line editing active,
+ instead of just returning an error status
Bash is free software, distributed under the terms of the [GNU] General
Public License as published by the Free Software Foundation,
-version 3 of the License. For more information, see the file COPYING.
+version 3 of the License (or any later version). For more information,
+see the file COPYING.
A number of frequently-asked questions are answered in the file
`doc/FAQ'.
Introduction
============
-This is GNU Bash, version 3.2. Bash is the GNU Project's Bourne
+This is GNU Bash, version 4.0. Bash is the GNU Project's Bourne
Again SHell, a complete implementation of the POSIX.2 shell spec,
but also with interactive command line editing, job control on
architectures that support it, csh-like features such as history
from the POSIX.2 spec and a description of the Bash `posix mode'.
There are some user-visible incompatibilities between this version
-of Bash and previous widely-distributed versions, bash-1.14 and
-bash-2.05b. For details, see the file COMPAT. The NEWS file tersely
+of Bash and previous widely-distributed versions, bash-2.05b and
+bash-3.2. For details, see the file COMPAT. The NEWS file tersely
lists features that are new in this release.
-Bash is free software, distributed under the terms of the [GNU]
-General Public License, version 2. For more information, see the
-file COPYING.
+Bash is free software, distributed under the terms of the [GNU] General
+Public License as published by the Free Software Foundation,
+version 3 of the License. For more information, see the file COPYING.
A number of frequently-asked questions are answered in the file
`doc/FAQ'.
char *initfile, *map_name, *fun_name, *unbind_name, *remove_seq, *cmd_seq;
if (no_line_editing)
- return (EXECUTION_FAILURE);
+ {
+ builtin_error ("line editing not enabled");
+ return (EXECUTION_FAILURE);
+ }
kmap = saved_keymap = (Keymap) NULL;
flags = 0;
This file is part of GNU Bash, the Bourne Again SHell.
-Bash is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
+Bash is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
-Bash is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details.
+Bash is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
-You should have received a copy of the GNU General Public License along
-with Bash; see the file COPYING. If not, write to the Free Software
-Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
+You should have received a copy of the GNU General Public License
+along with Bash. If not, see <http://www.gnu.org/licenses/>.
$PRODUCES bind.c
-f filename Read key bindings from FILENAME.
-x keyseq:shell-command Cause SHELL-COMMAND to be executed when
KEYSEQ is entered.
+
+Exit Status:
+bind returns 0 unless an unrecognized option is given or an error occurs.
$END
#if defined (READLINE)
#include "../shell.h"
#include "common.h"
+#include "bashgetopt.h"
extern int last_command_exit_value;
extern int subshell_environment;
return_builtin (list)
WORD_LIST *list;
{
+ if (no_options (list))
+ return (EX_USAGE);
+ list = loptend; /* skip over possible `--' */
+
return_catch_value = get_exitstat (list);
if (return_catch_flag)
.\" Case Western Reserve University
.\" chet@po.cwru.edu
.\"
-.\" Last Change: Sat Sep 6 13:05:54 EDT 2008
+.\" Last Change: Sat Sep 13 18:27:41 EDT 2008
.\"
.\" bash_builtins, strip all but Built-Ins section
.if \n(zZ=1 .ig zZ
.if \n(zY=1 .ig zY
-.TH BASH 1 "2008 September 6" "GNU Bash-4.0"
+.TH BASH 1 "2008 September 13" "GNU Bash-4.0"
.\"
.\" There's some problem with having a `@'
.\" in a tagged paragraph with the BSD man macros.
shell, unless the
.B \-\-noediting
option is given at shell invocation.
+Line editing is also used when using the \fB\-e\fP option to the
+\fBread\fP builtin.
By default, the line editing commands are similar to those of emacs.
A vi-style line editing interface is also available.
-To turn off line editing after the shell is running, use the
-.B +o emacs
+Line editing can be enabled at any time using the
+.B \-o emacs
or
-.B +o vi
+.B \-o vi
options to the
.B set
builtin (see
.SM
.B SHELL BUILTIN COMMANDS
below).
+To turn off line editing after the shell is running, use the
+.B +o emacs
+or
+.B +o vi
+options to the
+.B set
+builtin.
.SS "Readline Notation"
.PP
In this section, the emacs-style notation is used to denote
.SM
.B READLINE
above) is used to obtain the line.
+Readline uses the current (or default, if line editing was not previously
+active) editing settings.
.TP
.B \-i \fItext\fP
If
.\" Case Western Reserve University
.\" chet@po.cwru.edu
.\"
-.\" Last Change: Fri Aug 22 12:45:34 EDT 2008
+.\" Last Change: Sat Sep 6 13:05:54 EDT 2008
.\"
.\" bash_builtins, strip all but Built-Ins section
.if \n(zZ=1 .ig zZ
.if \n(zY=1 .ig zY
-.TH BASH 1 "2008 August 22" "GNU Bash-4.0"
+.TH BASH 1 "2008 September 6" "GNU Bash-4.0"
.\"
.\" There's some problem with having a `@'
.\" in a tagged paragraph with the BSD man macros.
This option is only effective if \fBread\fP is reading input from a
terminal, pipe, or other special file; it has no effect when reading
from regular files.
+If \fItimeout\fP is 0, \fBread\fP returns success if input is available on
+the specified file descriptor, failure otherwise.
The exit status is greater than 128 if the timeout is exceeded.
.TP
.B \-u \fIfd\fP
@item -e
Readline (@pxref{Command Line Editing}) is used to obtain the line.
+Readline uses the current (or default, if line editing was not previously
+active) editing settings.
@item -i @var{text}
If Readline is being used to read the line, @var{text} is placed into
This option is only effective if @code{read} is reading input from a
terminal, pipe, or other special file; it has no effect when reading
from regular files.
+If @var{timeout} is 0, @code{read} returns success if input is available on
+the specified file descriptor, failure otherwise.
The exit status is greater than 128 if the timeout is exceeded.
@item -u @var{fd}
Copyright (C) 1988-2008 Free Software Foundation, Inc.
@end ignore
-@set LASTCHANGE Sat Sep 6 13:05:30 EDT 2008
+@set LASTCHANGE Sat Sep 13 18:27:23 EDT 2008
@set EDITION 4.0
@set VERSION 4.0
-@set UPDATED 6 September 2008
+@set UPDATED 13 September 2008
@set UPDATED-MONTH September 2008
Copyright (C) 1988-2008 Free Software Foundation, Inc.
@end ignore
-@set LASTCHANGE Fri Aug 22 12:46:16 EDT 2008
+@set LASTCHANGE Sat Sep 6 13:05:30 EDT 2008
@set EDITION 4.0
@set VERSION 4.0
-@set UPDATED 22 August 2008
-@set UPDATED-MONTH August 2008
+@set UPDATED 6 September 2008
+@set UPDATED-MONTH September 2008
@ifset BashFeatures
Command line editing is provided by the Readline library, which is
used by several different programs, including Bash.
+Command line editing is enabled by default when using an interactive shell,
+unless the @option{--noediting} option is supplied at shell invocation.
+Line editing is also used when using the @option{-e} option to the
+@code{read} builtin command (@pxref{Bash Builtins}).
+By default, the line editing commands are similar to those of emacs.
+A vi-style line editing interface is also available.
+Line editing can be enabled at any time using the @option{-o emacs} or
+@option{-o vi} options to the @code{set} builtin command
+(@pxref{The Set Builtin}), or disabled using the @option{+o emacs} or
+@option{+o vi} options to @code{set}.
@end ifset
@menu
@ifset BashFeatures
Command line editing is provided by the Readline library, which is
used by several different programs, including Bash.
+Command line editing is enabled by default when using an interactive shell,
+unless the @option{--noediting} option is supplied at shell invocation.
+Line editing is also used when using the @option{-e} option to the
+@code{read} builtin command (@pxref{Bash Builtins}).
+By default, the line editing commands are similar to those of emacs.
+A vi-style line editing interface is also available.
@end ifset
@menu
the text against lines from the history list for possible
completion matches.
+@item dabbrev-expand ()
+Attempt menu completion on the text before point, comparing
+the text against lines from the history list for possible
+completion matches.
+
@item complete-into-braces (M-@{)
Perform filename completion and insert the list of possible completions
enclosed within braces so the list is available to the shell
"Project-Id-Version: bash 4.0-pre1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-08-25 11:13-0400\n"
-"PO-Revision-Date: 2008-09-07 11:46+0200\n"
+"PO-Revision-Date: 2008-09-10 22:16+0200\n"
"Last-Translator: Nils Naumann <nnau@gmx.net>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
msgstr "%s: Kommando nicht gefunden."
#: builtins/bind.def:288 builtins/bind.def:318
-#, fuzzy, c-format
+#, c-format
msgid "`%s': unknown function name"
-msgstr "%s: Schreibgeschützte Funktion."
+msgstr "%s: Unbekannter Funktionsname."
#: builtins/bind.def:296
#, c-format
msgstr ""
#: builtins/common.c:292
-#, fuzzy, c-format
+#, c-format
msgid "write error: %s"
-msgstr "Pipe-Fehler: %s."
+msgstr "Schreibfehler: %s."
#: builtins/common.c:523
#, c-format
#: builtins/complete.def:669
msgid "warning: -C option may not work as you expect"
-msgstr ""
+msgstr "Warnung: Die -C Option könnte unerwartete Ergebnisse liefern."
#: builtins/complete.def:786
msgid "not currently executing completion function"
msgstr ""
#: builtins/hash.def:244
-#, fuzzy, c-format
+#, c-format
msgid "hits\tcommand\n"
-msgstr "`r', das zuletzt eingegebene Kommando wiederholt."
+msgstr ""
#: builtins/help.def:130
#, c-format
"A star (*) next to a name means that the command is disabled.\n"
"\n"
msgstr ""
+"Die Shell Kommandos sind intern definiert. Mit `help' kann eine Liste\n"
+"angesehen werden. Durch `help Name' wird eine Beschreibung der\n"
+"Funktion `Name' angezeigt. Die Dokumentation ist mit `info bash'\n"
+"einsehbar. Detaillierte Beschreibungen der Shellkommandos sind mit\n"
+"`man -k' oder `info' abrufbar.\n"
+"\n"
+"Ein Stern (*) neben dem Namen kennzeichnet deaktivierte Kommandos.\n"
+"\n"
#: builtins/history.def:154
msgid "cannot use more than one of -anrw"
msgstr ""
#: builtins/history.def:366
-#, fuzzy, c-format
+#, c-format
msgid "%s: history expansion failed"
-msgstr "%s: Ganzzahliger Ausdruck erwartet."
+msgstr ""
#: builtins/inlib.def:71
-#, fuzzy, c-format
+#, c-format
msgid "%s: inlib failed"
-msgstr "%s ist nicht gesetzt."
+msgstr ""
#: builtins/jobs.def:109
msgid "no other options allowed with `-x'"
msgstr ""
#: builtins/mapfile.def:243
-#, fuzzy, c-format
+#, c-format
msgid "%s: invalid array origin"
-msgstr "%s: Falscher Feldvariablenindex."
+msgstr ""
#: builtins/mapfile.def:260
#, c-format
" \n"
" The `dirs' builtin displays the directory stack."
msgstr ""
+"Legt ein Verzeichniseintrag auf den Verzeichnisstapel ab oder rotiert\n"
+"den Stapel so, dass das aktuelle Verzeichnis oben liegt. Ohne Argumente\n"
+"werden die beiden oberen Einträge vertauscht.\n"
+"\n"
+" Optionen: \n"
+" -n\tVermeidet das Wechseln des Verzeichnisses, so dass\n"
+"\tnur der Verzeichnisstapel geändert wird.\n"
+"\n"
+" Argumente:\n"
+" +N\tRotiert den Verzeichnisstapel, dass das N-te Verzeichnis\n"
+"\tvon links, das von `dirs' angezeigt wird, nach oben kommt. Die Zählung\n"
+"\tbeginnt dabei mit Null.\n"
+"\n"
+" -N\tRotiert den Verzeichnisstapel, dass das N-te Verzeichnis\n"
+"\tvon rechts, das von `dirs' angezeigt wird, nach oben kommt. Die \n"
+"\tZählung beginnt dabei mit Null.\n"
+"\n"
+" dir\tLegt DIR auf den Verzeichnisstapel und wechselt in dieses\n"
+" Verzeichnis.\n"
+" \n"
+" Das `dirs' Kommando zeigt den Verueichnisstapel an."
#: builtins/pushd.def:730
msgid ""
" \n"
" The `dirs' builtin displays the directory stack."
msgstr ""
+"Erntfernt Einträge vom Stapel. Ohne Argumente wird der oberste Eintrag\n"
+" gelöscht und anschließend in das das neue oben liegede Verzeichnis\n"
+" gewechselt.\n"
+" \n"
+" Optionen:\n"
+" -n\tVermeidet das Wechseln des Verzeichnisses, so dass\n"
+"\tnur der Verzeichnisstapel geändert wird.\n"
+" \n"
+" Argumente:\n"
+" +N\tEntfernt den N-ten Eintrag von links, der von `dirs'\n"
+"\tangezeigt wird. Dabei beginnt die Zählung von Null. So\n"
+"\tentfernt z.B. `popd +0' den ersten und `popd +1' den zweiten\n"
+"\tEintrag.\n"
+" \n"
+" -N\tEntfernt den N-ten Eintrag von rechts, der von `dirs'\n"
+"\tangezeigt wird. Dabei beginnt die Zählung von Null. So\n"
+"\tentfernt z.B. `popd -0' den letzten und `popd +1' den vorletzten\n"
+"\tEintrag.\n"
+" \n"
+" Das `dirs' Kommando zeigt den Verzeichnisstapel an."
#: builtins/read.def:247
#, c-format
msgstr ""
#: builtins/read.def:569
-#, fuzzy, c-format
+#, c-format
msgid "read error: %d: %s"
-msgstr "Pipe-Fehler: %s."
+msgstr "Lesefehler: %d: %s"
#: builtins/return.def:68
msgid "can only `return' from a function or sourced script"
msgstr ""
#: builtins/set.def:768
-#, fuzzy
msgid "cannot simultaneously unset a function and a variable"
-msgstr "nur innerhalb einer Funktion benutzt werden. Die erzeugte Variable Name ist"
+msgstr ""
#: builtins/set.def:805
-#, fuzzy, c-format
+#, c-format
msgid "%s: cannot unset"
-msgstr "%s: Kann die Datei %s nicht erzeugen."
+msgstr ""
#: builtins/set.def:812
-#, fuzzy, c-format
+#, c-format
msgid "%s: cannot unset: readonly %s"
-msgstr "%s: Kann die Datei %s nicht erzeugen."
+msgstr ""
#: builtins/set.def:823
-#, fuzzy, c-format
+#, c-format
msgid "%s: not an array variable"
-msgstr "%s ist nicht gesetzt."
+msgstr ""
#: builtins/setattr.def:186
-#, fuzzy, c-format
+#, c-format
msgid "%s: not a function"
-msgstr "%s: Schreibgeschützte Funktion."
+msgstr ""
#: builtins/shift.def:71 builtins/shift.def:77
-#, fuzzy
msgid "shift count"
-msgstr "shift [n]"
+msgstr ""
#: builtins/shopt.def:250
msgid "cannot set and unset shell options simultaneously"
msgstr ""
#: builtins/source.def:153
-#, fuzzy, c-format
+#, c-format
msgid "%s: file not found"
-msgstr "%s: Kommando nicht gefunden."
+msgstr "%s: Datei nicht gefunden."
#: builtins/suspend.def:101
msgid "cannot suspend"
msgstr ""
#: execute_cmd.c:1930
-#, fuzzy
msgid "pipe error"
-msgstr "Pipe-Fehler: %s."
+msgstr "Pipe-Fehler"
#: execute_cmd.c:4243
#, c-format
msgstr "Umlenkfehler"
#: general.c:61
-#, fuzzy
msgid "getcwd: cannot access parent directories"
msgstr "getwd: Kann nicht auf das übergeordnete Verzeichnis zugreifen."
#: jobs.c:464
msgid "start_pipeline: pgrp pipe"
-msgstr ""
+msgstr "start_pipeline: pgrp pipe"
#: jobs.c:879
#, c-format
msgstr "Keine Job Steuerung in dieser Shell."
#: lib/malloc/malloc.c:296
-#, c-format
+#, fuzzy, c-format
msgid "malloc: failed assertion: %s\n"
-msgstr ""
+msgstr "malloc: Fehler bei Speicherzuweisung: %s\n"
#: lib/malloc/malloc.c:312
#, c-format
#: shell.c:328
msgid "could not find /tmp, please create!"
-msgstr ""
+msgstr "Konnte das /tmp Verzeichnis nicht finden, bitte anlegen."
#: shell.c:332
msgid "/tmp must be a valid directory name"
-msgstr ""
+msgstr "/tmp muß ein gültiger Verzeichnisname sein."
#: shell.c:876
#, fuzzy, c-format
#: shell.c:1637
msgid "I have no name!"
-msgstr "Ich habe keinen Namen!"
+msgstr "Ich habe keinen Benutzernamen!"
#: shell.c:1777
#, c-format
#: shell.c:1808
#, c-format
msgid "Use the `bashbug' command to report bugs.\n"
-msgstr ""
+msgstr "Mit dem `bashbug' Kommando können Fehler gemeldet werden.\n"
#: sig.c:576
#, c-format
msgid "sigprocmask: %d: invalid operation"
-msgstr ""
+msgstr "sigprocmask: %d: Ungültige Operation"
#: siglist.c:47
msgid "Bogus signal"
msgstr "(( Ausdruck ))"
#: builtins.c:206
-#, fuzzy
msgid "[[ expression ]]"
msgstr "[[ Ausdruck ]]"
#: builtins.c:208
msgid "variables - Names and meanings of some shell variables"
-msgstr ""
+msgstr "variables - Namen und Bedeutung einiger Shell Variablen"
#: builtins.c:211
msgid "pushd [-n] [+N | -N | dir]"
#: builtins.c:227
msgid "complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]"
-msgstr ""
+msgstr "complete [-abcdefgjksuv] [-pr] [-o Option] [-A Aktion] [-G Suchmuster] [-W Wortliste] [-F Funktion] [-C Kommando] [-X Filtermuster] [-P Prefix] [-S Suffix] [Name ...]"
#: builtins.c:231
msgid "compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]"
-msgstr ""
+msgstr "compgen [-abcdefgjksuv] [-o Option] [-A Aktion] [-G Suchmuster] [-W Wortliste] [-F Funktion] [-C Kommando] [-X Filtermuster] [-P Prefix] [-S Suffix] [Wort]"
#: builtins.c:235
msgid "compopt [-o|+o option] [name ...]"
msgstr ""
#: builtins.c:250
+#, fuzzy
msgid ""
"Define or display aliases.\n"
" \n"
" alias returns true unless a NAME is supplied for which no alias has been\n"
" defined."
msgstr ""
+"Definiert Aliase oder zeigt sie an.\n"
+" \n"
+" Ohne Argumente wird die Liste der Aliase (Synonyme) in der Form \n"
+" `alias Name=Wert' auf die Standardausgabe gedruckt.\n"
+"\n"
+" Sonst wird ein Alias für jeden angegebenen Namen definiert, für den ein\n"
+" Wert angegeben wurde. \n"
+" A trailing space in VALUE causes the next word to be checked for\n"
+" alias substitution when the alias is expanded.\n"
+" \n"
+" Options:\n"
+" -p\tPrint all defined aliases in a reusable format\n"
+" \n"
+" Exit Status:\n"
+" alias returns true unless a NAME is supplied for which no alias has been\n"
+" defined."
#: builtins.c:272
msgid ""
" \n"
" Return success unless a NAME is not an existing alias."
msgstr ""
+"Entferne jeden Namen von der Aliasliste.\n"
+" \n"
+" Optionen:\n"
+" -a\tEnferne alle Alias Definitionen.\n"
+" \n"
+" Gibt immer Erfolg zurück, wenn der Name existiert."
#: builtins.c:285
msgid ""
" Exit Status:\n"
" The exit status is 0 unless N is not greater than or equal to 1."
msgstr ""
+"Beendet for, while oder until Schleifen.\n"
+" \n"
+" Break beendet eine FOR, WHILE oder UNTIL Schleife. Wenn N angegeben ist, werden N geschachtelte\n"
+" Schleifen beendet.\n"
+" \n"
+" Rückgabewert:\n"
+" Der Rückgabewert ist 0, es sei den N ist größer oder gleich 1."
#: builtins.c:334
msgid ""
" Exit Status:\n"
" The exit status is 0 unless N is not greater than or equal to 1."
msgstr ""
+"Springt zum Schleifenanfang von for, while, oder until Schleifen.\n"
+" \n"
+" Continoue springt zum Schleifenanfang der aktuellen FOR, WHILE oder UNTIL \n"
+" Schleife. Wenn N angegeben ist, werden N wird zum Beginn der N-ten\n"
+" übergeordneten Schleife gesprungen.\n"
+" \n"
+" Rückgabewert:\n"
+" Der Rückgabewert ist 0, außer wenn N größer oder gleich 1 ist."
#: builtins.c:346
msgid ""
" Returns 0 unless an invalid option is given or the current directory\n"
" cannot be read."
msgstr ""
+"Gibt den Namen des aktuellen Arbeitsverzeichnis aus.\n"
+" \n"
+" Optionen:\n"
+" -L\tGibt den Wert der $PWD Umgebungsvariable aus, wenn diese\n"
+"\tauf das aktuelle Arbeitsverzeichnis verweist.\n"
+"\n"
+" -P\tGibt den wirklichen Verzeichnisnahen aus, ohne symbolische Verweise.\n"
+" \n"
+" Standardmäßig wird die -L Option verwendet.\n"
+" \n"
+" Rückgabewert:\n"
+" Der Rückgabewert ist 0, außer wenn eine ungültige Option angegeben oder das aktuelle\n"
+" Verzeichnis nicht gelesen werden kann."
# colon
#: builtins.c:424
-#, fuzzy
msgid ""
"Null command.\n"
" \n"
" \n"
" Exit Status:\n"
" Always succeeds."
-msgstr "Leeranweisung; das Kommando hat keine Wirkung. Es wird Null zurückgegeben."
+msgstr ""
+"Leeranweisung.\n"
+"\n"
+" Leeranweisung; das Kommando hat keine Wirkung.\n"
+"\n"
+" Rückgabewert:\n"
+" Das Kommando ist immer erfolgreich."
#: builtins.c:435
msgid ""
# exit
#: builtins.c:685
-#, fuzzy
msgid ""
"Exit the shell.\n"
" \n"
" Exits the shell with a status of N. If N is omitted, the exit status\n"
" is that of the last command executed."
-msgstr "Verläßt die Shell mit dem Status N. Wenn N nicht angegeben ist, dann wird"
+msgstr ""
+"Beendet die aktuelle Shell.\n"
+"\n"
+" Beendt die die aktuelle Shell mit dem Rückgabewert N. Wenn N nicht angegeben ist,\n"
+" wird der Rückgabewert des letzten ausgeführten Kommandos übernommen."
#: builtins.c:694
msgid ""
;;
# Darwin/MacOS X
-darwin[89]*)
+darwin[89]*|darwin10*)
SHOBJ_STATUS=supported
SHLIB_STATUS=supported
SHLIB_LIBSUFF='dylib'
case "${host_os}" in
- darwin[789]*) SHOBJ_LDFLAGS=''
+ darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
;;
*) SHOBJ_LDFLAGS='-dynamic'
# Chet Ramey
# chet@po.cwru.edu
-# Copyright (C) 1996-2007 Free Software Foundation, Inc.
+# Copyright (C) 1996-2008 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# This file is part of GNU Bash, the Bourne Again SHell.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
#
# defaults
SHLIB_LIBSUFF='dylib'
case "${host_os}" in
- darwin[789]*) SHOBJ_LDFLAGS=''
+ darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
;;
*) SHOBJ_LDFLAGS='-dynamic'
cygwin*)
SHOBJ_LD='$(CC)'
- SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a'
- SHLIB_LIBPREF='cyg'
- SHLIB_LIBSUFF='dll'
- SHLIB_LIBVERSION='$(SHLIB_DLLVERSION).$(SHLIB_LIBSUFF)'
- SHLIB_LIBS='$(TERMCAP_LIB)'
+ SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a'
+ SHLIB_LIBPREF='cyg'
+ SHLIB_LIBSUFF='dll'
+ SHLIB_LIBVERSION='$(SHLIB_DLLVERSION).$(SHLIB_LIBSUFF)'
+ SHLIB_LIBS='$(TERMCAP_LIB)'
+
+ SHLIB_DOT=
+ # For official cygwin releases, DLLVERSION will be defined in the
+ # environment of configure, and will be incremented any time the API
+ # changes in a non-backwards compatible manner. Otherwise, it is just
+ # SHLIB_MAJOR.
+ if [ -n "$DLLVERSION" ] ; then
+ SHLIB_DLLVERSION="$DLLVERSION"
+ fi
+ ;;
+
+mingw*)
+ SHOBJ_LD='$(CC)'
+ SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a'
+ SHLIB_LIBSUFF='dll'
+ SHLIB_LIBVERSION='$(SHLIB_DLLVERSION).$(SHLIB_LIBSUFF)'
+ SHLIB_LIBS='$(TERMCAP_LIB)'
SHLIB_DOT=
- # For official cygwin releases, DLLVERSION will be defined in the
- # environment of configure, and will be incremented any time the API
- # changes in a non-backwards compatible manner. Otherwise, it is just
- # SHLIB_MAJOR.
- if [ -n "$DLLVERSION" ] ; then
+ # For official cygwin releases, DLLVERSION will be defined in the
+ # environment of configure, and will be incremented any time the API
+ # changes in a non-backwards compatible manner. Otherwise, it is just
+ # SHLIB_MAJOR.
+ if [ -n "$DLLVERSION" ] ; then
SHLIB_DLLVERSION="$DLLVERSION"
- fi
+ fi
;;
#
-BUILD_DIR=/usr/local/build/bash/bash-current
+BUILD_DIR=/usr/local/build/chet/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
1
t -t /dev/tty4444444...
1
+1
t -t /dev/tty4
echo 't -t /dev/tty4444444...'
t -t /dev/tty4444444...
+
+# fixed in bash-4.0-beta
+t -t ' '
}
if (old_var == 0)
- new_var = bind_variable_internal (name, "", vc->table, HASH_NOSRCH, 0);
+ new_var = make_new_variable (name, vc->table);
else
{
new_var = make_new_variable (name, vc->table);
h = rseed / 127773;
l = rseed % 127773;
rseed = 16807 * l - 2836 * h;
+#if 0
if (rseed < 0)
rseed += 0x7fffffff;
+#endif
return ((unsigned int)(rseed & 32767)); /* was % 32768 */
#endif
}
}
if (old_var == 0)
+#if 0
new_var = bind_variable_internal (name, "", vc->table, HASH_NOSRCH, 0);
+#else
+ new_var = make_new_variable (name, vc->table);
+#endif
else
{
new_var = make_new_variable (name, vc->table);