mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 10:20:49 +02:00
commit bash-20151106 snapshot
This commit is contained in:
@@ -9890,3 +9890,15 @@ parse.y
|
||||
doc/{bash.1,bashref.texi}
|
||||
- PS0: document new prompt string
|
||||
|
||||
11/3
|
||||
----
|
||||
subst.c
|
||||
- cond_expand_node: if special > 0, remove quoted nulls from the word
|
||||
list, since no word splitting takes place. Fixes bug reported by
|
||||
Corentin Peuvrel <cpeuvrel@pom-monitoring.com>
|
||||
|
||||
11/4
|
||||
----
|
||||
doc/{bash.1,builtins.texi}
|
||||
- inherit_errexit: add to shopt description; modify Posix mode
|
||||
description
|
||||
|
||||
@@ -1132,6 +1132,8 @@ char *structfile_header[] = {
|
||||
" the list of shell reserved control structures, like `if' and `while'.",
|
||||
" The end of the list is denoted with a NULL name field. */",
|
||||
"",
|
||||
"/* TRANSLATORS: Please do not translate command names in descriptions */",
|
||||
"",
|
||||
"#include \"../builtins.h\"",
|
||||
(char *)NULL
|
||||
};
|
||||
|
||||
+3
-1
@@ -21,7 +21,7 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
AC_REVISION([for Bash 4.4, version 4.074])dnl
|
||||
AC_REVISION([for Bash 4.4, version 4.075])dnl
|
||||
|
||||
define(bashvers, 4.4)
|
||||
define(relstatus, beta)
|
||||
@@ -1120,6 +1120,8 @@ case "${host_os}-${CC}" in
|
||||
aix4.2*-*gcc*) LOCAL_LDFLAGS="-Xlinker -bexpall -Xlinker -brtl" ;;
|
||||
aix4.2*) LOCAL_LDFLAGS="-bexpall -brtl" ;;
|
||||
bsdi4*-*gcc*) LOCAL_LDFLAGS="-rdynamic" ;; # allow dynamic loading, like Linux
|
||||
bsdi5*-*gcc*) LOCAL_LDFLAGS="-rdynamic" ;; # allow dynamic loading, like Linux
|
||||
hpux11*-gcc*) LOCAL_LDFLAGS="-Wl,-E" ;; # allow dynamic loading
|
||||
esac
|
||||
|
||||
dnl FreeBSD-3.x can have either a.out or ELF
|
||||
|
||||
+14
-5
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Oct 30 10:00:57 EDT 2015
|
||||
.\" Last Change: Wed Nov 4 09:56:06 EST 2015
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2015 October 30" "GNU Bash 4.4"
|
||||
.TH BASH 1 "2015 November 4" "GNU Bash 4.4"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -1505,7 +1505,7 @@ Elements added to this array appear in the hash table; however,
|
||||
unsetting array elements currently does not cause command names to be removed
|
||||
from the hash table.
|
||||
If
|
||||
.B BASH_ALIASES
|
||||
.B BASH_CMDS
|
||||
is unset, it loses its special properties, even if it is
|
||||
subsequently reset.
|
||||
.TP
|
||||
@@ -2342,7 +2342,7 @@ below). Characters removed are replaced with an ellipsis.
|
||||
The value of this parameter is expanded (see
|
||||
.SM
|
||||
.B PROMPTING
|
||||
(below) and displayed by interactive shells after reading a command
|
||||
below) and displayed by interactive shells after reading a command
|
||||
and before the command is executed.
|
||||
.TP
|
||||
.B PS1
|
||||
@@ -5006,6 +5006,10 @@ when it is ready to read a command, and the secondary prompt
|
||||
.B PS2
|
||||
when it needs more input to complete a command.
|
||||
.B Bash
|
||||
displays
|
||||
.B PS0
|
||||
after it reads a command but before executing it.
|
||||
.B Bash
|
||||
allows these prompt strings to be customized by inserting a number of
|
||||
backslash-escaped special characters that are decoded as follows:
|
||||
.RS
|
||||
@@ -9699,6 +9703,11 @@ If set, \fBbash\fP will send
|
||||
.B SIGHUP
|
||||
to all jobs when an interactive login shell exits.
|
||||
.TP 8
|
||||
.B inherit_errexit
|
||||
If set, command substitution inherits the value of the \fBerrexit\fP option,
|
||||
instead of unsetting it in the subshell environment.
|
||||
This option is enabled when \fIposix mode\fP is enabled.
|
||||
.TP 8
|
||||
.B interactive_comments
|
||||
If set, allow a word beginning with
|
||||
.B #
|
||||
@@ -10011,7 +10020,7 @@ is
|
||||
.BR ERR ,
|
||||
the command
|
||||
.I arg
|
||||
is executed whenever a
|
||||
is executed whenever
|
||||
a pipeline (which may consist of a single simple
|
||||
command), a list, or a compound command returns a
|
||||
non\-zero exit status,
|
||||
|
||||
+24
-7
@@ -1,4 +1,4 @@
|
||||
\input texinfo.tex @c -*- texinfo -*-
|
||||
input texinfo.tex @c -*- texinfo -*-
|
||||
@c %**start of header
|
||||
@setfilename bashref.info
|
||||
@settitle Bash Reference Manual
|
||||
@@ -5222,6 +5222,11 @@ by default.
|
||||
If set, Bash will send @code{SIGHUP} to all jobs when an interactive
|
||||
login shell exits (@pxref{Signals}).
|
||||
|
||||
@item inherit_errexit
|
||||
If set, command substitution inherits the value of the @code{errexit} option,
|
||||
instead of unsetting it in the subshell environment.
|
||||
This option is enabled when @sc{posix} mode is enabled.
|
||||
|
||||
@item interactive_comments
|
||||
Allow a word beginning with @samp{#}
|
||||
to cause that word and all remaining characters on that
|
||||
@@ -5447,8 +5452,12 @@ that do not require Bash to be re-initialized.
|
||||
An associative array variable whose members correspond to the internal
|
||||
list of aliases as maintained by the @code{alias} builtin.
|
||||
(@pxref{Bourne Shell Builtins}).
|
||||
Elements added to this array appear in the alias list; unsetting array
|
||||
elements cause aliases to be removed from the alias list.
|
||||
Elements added to this array appear in the alias list; however,
|
||||
unsetting array elements currently does not cause aliases to be removed
|
||||
from the alias list.
|
||||
If @code{BASH_ALIASES}
|
||||
is unset, it loses its special properties, even if it is
|
||||
subsequently reset.
|
||||
|
||||
@item BASH_ARGC
|
||||
An array variable whose values are the number of parameters in each
|
||||
@@ -5477,8 +5486,12 @@ builtin).
|
||||
An associative array variable whose members correspond to the internal
|
||||
hash table of commands as maintained by the @code{hash} builtin
|
||||
(@pxref{Bourne Shell Builtins}).
|
||||
Elements added to this array appear in the hash table; unsetting array
|
||||
elements cause commands to be removed from the hash table.
|
||||
Elements added to this array appear in the hash table; however,
|
||||
unsetting array elements currently does not cause command names to be removed
|
||||
from the hash table.
|
||||
If @code{BASH_CMDS}
|
||||
is unset, it loses its special properties, even if it is
|
||||
subsequently reset.
|
||||
|
||||
@item BASH_COMMAND
|
||||
The command currently being executed or about to be executed, unless the
|
||||
@@ -6475,6 +6488,7 @@ signals @code{SIGTTIN}, @code{SIGTTOU}, and @code{SIGTSTP}.
|
||||
Bash expands and displays @env{PS1} before reading the first line
|
||||
of a command, and expands and displays @env{PS2} before reading the
|
||||
second and subsequent lines of a multi-line command.
|
||||
Bash displays @env{PS0} after it reads a command but before executing it.
|
||||
|
||||
@item
|
||||
Bash executes the value of the @env{PROMPT_COMMAND} variable as a command
|
||||
@@ -7450,8 +7464,11 @@ The @code{.} and @code{source} builtins do not search the current directory
|
||||
for the filename argument if it is not found by searching @env{PATH}.
|
||||
|
||||
@item
|
||||
Subshells spawned to execute command substitutions inherit the value of
|
||||
the @option{-e} option from the parent shell. When not in @sc{posix} mode,
|
||||
Enabling @sc{posix} mode has the effect of setting the
|
||||
@code{inherit_errexit} option, so
|
||||
subshells spawned to execute command substitutions inherit the value of
|
||||
the @option{-e} option from the parent shell.
|
||||
When the @code{inherit_errexit} option is not enabled,
|
||||
Bash clears the @option{-e} option in such subshells.
|
||||
|
||||
@item
|
||||
|
||||
+3
-3
@@ -2,10 +2,10 @@
|
||||
Copyright (C) 1988-2015 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Oct 30 10:00:57 EDT 2015
|
||||
@set LASTCHANGE Wed Nov 4 09:56:06 EST 2015
|
||||
|
||||
@set EDITION 4.4
|
||||
@set VERSION 4.4
|
||||
|
||||
@set UPDATED 30 October 2015
|
||||
@set UPDATED-MONTH October 2015
|
||||
@set UPDATED 4 November 2015
|
||||
@set UPDATED-MONTH November 2015
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
# This file is distributed under the same license as the bash package.
|
||||
# Göran Uddeborg <goeran@uddeborg.se>, 2008, 2009, 2010, 2011, 2013, 2014, 2015.
|
||||
#
|
||||
# $Revision: 1.19 $
|
||||
# $Revision: 1.20 $
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: bash 4.4-beta1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-10-02 07:21-0400\n"
|
||||
"PO-Revision-Date: 2015-10-29 21:50+0100\n"
|
||||
"PO-Revision-Date: 2015-11-01 10:54+0100\n"
|
||||
"Last-Translator: Göran Uddeborg <goeran@uddeborg.se>\n"
|
||||
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
|
||||
"Language: sv\n"
|
||||
@@ -508,7 +508,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Dessa skalkommandon är definierade internt. Skriv ”help” för att se\n"
|
||||
"denna lista. Skriv ”help namn” för att få reda på mer om funktionen\n"
|
||||
"”namn”. Använd ”info bash” får att få reda på mer om skalet rent\n"
|
||||
"”namn”. Använd ”info bash” för att få reda på mer om skalet rent\n"
|
||||
"allmänt. Använd ”man -k” eller ”info” för att få reda på mer om\n"
|
||||
"kommandon som inte är i listan.\n"
|
||||
"\n"
|
||||
@@ -558,7 +558,7 @@ msgstr "%s: inte en indexerad vektor"
|
||||
#: builtins/mapfile.def:272 builtins/read.def:306
|
||||
#, c-format
|
||||
msgid "%s: invalid file descriptor specification"
|
||||
msgstr "%s: ogiltig filidentifierarspecifikation"
|
||||
msgstr "%s: ogiltig filbeskrivarspecifikation"
|
||||
|
||||
#: builtins/mapfile.def:280 builtins/read.def:313
|
||||
#, c-format
|
||||
@@ -1044,7 +1044,7 @@ msgstr "division med 0"
|
||||
|
||||
#: expr.c:542
|
||||
msgid "bug: bad expassign token"
|
||||
msgstr "fel: felaktig expassign-token"
|
||||
msgstr "fel: felaktig expassign-symbol"
|
||||
|
||||
#: expr.c:595
|
||||
msgid "`:' expected for conditional expression"
|
||||
@@ -1495,7 +1495,7 @@ msgstr "syntaxfel"
|
||||
#: parse.y:5931
|
||||
#, c-format
|
||||
msgid "Use \"%s\" to leave the shell.\n"
|
||||
msgstr "Använd ”%s” får att lämna skalet.\n"
|
||||
msgstr "Använd ”%s” för att lämna skalet.\n"
|
||||
|
||||
#: parse.y:6093
|
||||
msgid "unexpected EOF while looking for matching `)'"
|
||||
@@ -1547,12 +1547,12 @@ msgstr "%s: tvetydig omdirigering"
|
||||
#: redir.c:182
|
||||
#, c-format
|
||||
msgid "%s: cannot overwrite existing file"
|
||||
msgstr "%s: begränsad: det går inte att skriva över en existerande fil"
|
||||
msgstr "%s: det går inte att skriva över en existerande fil"
|
||||
|
||||
#: redir.c:187
|
||||
#, c-format
|
||||
msgid "%s: restricted: cannot redirect output"
|
||||
msgstr "%s: begränsad: det går inte att omdirigera utdata"
|
||||
msgstr "%s: begränsat: det går inte att omdirigera utdata"
|
||||
|
||||
#: redir.c:192
|
||||
#, c-format
|
||||
@@ -1801,7 +1801,7 @@ msgstr "strömavbrott omedelbart förestående"
|
||||
|
||||
#: siglist.c:191
|
||||
msgid "system crash imminent"
|
||||
msgstr "systemkrash omedelbart förestående"
|
||||
msgstr "systemkrasch omedelbart förestående"
|
||||
|
||||
#: siglist.c:195
|
||||
msgid "migrate process to another CPU"
|
||||
@@ -1817,7 +1817,7 @@ msgstr "HFT-övervakningsläge givet"
|
||||
|
||||
#: siglist.c:207
|
||||
msgid "HFT monitor mode retracted"
|
||||
msgstr "HFT-överakare borttagen"
|
||||
msgstr "HFT-övervakare borttagen"
|
||||
|
||||
#: siglist.c:211
|
||||
msgid "HFT sound sequence has completed"
|
||||
@@ -1923,7 +1923,7 @@ msgstr "felaktig ersättning: ingen avslutande ”`” i %s"
|
||||
#: subst.c:9947
|
||||
#, c-format
|
||||
msgid "no match: %s"
|
||||
msgstr "ingen match: %s"
|
||||
msgstr "ingen matchning: %s"
|
||||
|
||||
#: test.c:147
|
||||
msgid "argument expected"
|
||||
@@ -2061,7 +2061,7 @@ msgstr "GNU bash, version %s (%s)\n"
|
||||
|
||||
#: version.c:91 version2.c:91
|
||||
msgid "This is free software; you are free to change and redistribute it."
|
||||
msgstr "Detta är fri programvara, det får fritt ändra och vidaredistribuera den."
|
||||
msgstr "Detta är fri programvara, du får fritt ändra och vidaredistribuera den."
|
||||
|
||||
#: version.c:92 version2.c:92
|
||||
msgid "There is NO WARRANTY, to the extent permitted by law."
|
||||
@@ -2253,7 +2253,7 @@ msgstr "readonly [-aAf] [namn[=värde] ...] eller readonly -p"
|
||||
|
||||
#: builtins.c:148
|
||||
msgid "shift [n]"
|
||||
msgstr "skift [n]"
|
||||
msgstr "shift [n]"
|
||||
|
||||
#: builtins.c:150
|
||||
msgid "source filename [arguments]"
|
||||
@@ -2431,7 +2431,7 @@ msgstr ""
|
||||
" aliassubstitution när aliaset expanderas.\n"
|
||||
" \n"
|
||||
" Flaggor:\n"
|
||||
" -p\tskriv alla definierade alias i på en återanvändbar form\n"
|
||||
" -p\tskriv alla definierade alias på en återanvändbar form\n"
|
||||
" \n"
|
||||
" Slutstatus:\n"
|
||||
" alias returnerar sant om inte ett NAMN ges för vilket inget alias har\n"
|
||||
@@ -2502,8 +2502,8 @@ msgstr ""
|
||||
" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move,\n"
|
||||
" vi-command och vi-insert.\n"
|
||||
" -l Lista namnen på funktioner.\n"
|
||||
" -P List funktionsnamn och bindningar.\n"
|
||||
" -p List funktioner och bindningar på ett sätt som kan\n"
|
||||
" -P Lista funktionsnamn och bindningar.\n"
|
||||
" -p Lista funktioner och bindningar på ett sätt som kan\n"
|
||||
" återanvändas som indata.\n"
|
||||
" -S Lista tangentsekvenser som anropar makron och deras\n"
|
||||
" värden.\n"
|
||||
@@ -2892,7 +2892,7 @@ msgstr ""
|
||||
" \n"
|
||||
" Slutstatus:\n"
|
||||
" Returnerar framgång om inte en ogiltig flagga ges, ett fel vid\n"
|
||||
" variabeltilldelning inträffar eller skalet inte exekverar en funktion."
|
||||
" variabeltilldelning inträffar eller skalet inte exekverar en funktion."
|
||||
|
||||
#: builtins.c:553
|
||||
msgid ""
|
||||
@@ -3015,7 +3015,7 @@ msgstr ""
|
||||
" \taktiverade eller ej\n"
|
||||
" -n\tavaktivera varje NAMN eller visa en lista av avaktiverade\n"
|
||||
" \tkommandon\n"
|
||||
" -p\tskriv listan av inbyggda kommandon på en återanvändningsbar\n"
|
||||
" -p\tskriv listan av inbyggda kommandon på en återanvändbar\n"
|
||||
" \tform\n"
|
||||
" -s\tskriv endast namnen på Posix ”special”-inbyggda\n"
|
||||
" \n"
|
||||
@@ -3815,7 +3815,7 @@ msgstr ""
|
||||
" \n"
|
||||
" Flaggor:\n"
|
||||
" -a Markera variabler om ändras eller skapas för export.\n"
|
||||
" -b Rapportera om avlutade jobb omedelbart.\n"
|
||||
" -b Rapportera om avslutade jobb omedelbart.\n"
|
||||
" -e Avsluta omedelbart om ett kommando avslutar med nollskild status.\n"
|
||||
" -f Avaktivera filnamnsgenerering (globbing).\n"
|
||||
" -h Kom ihåg platsen för kommandon när de slås upp.\n"
|
||||
@@ -4456,7 +4456,7 @@ msgstr ""
|
||||
" \n"
|
||||
" Om GRÄNS anges är det ett nytt värde för den specificerade resursen; de\n"
|
||||
" speciella GRÄNS-värdena ”soft”, ”hard” och ”unlimited” står för den\n"
|
||||
" aktuella mjuka gränsen, den aktuella hårda gränsen respektive inge gräns.\n"
|
||||
" aktuella mjuka gränsen, den aktuella hårda gränsen respektive ingen gräns.\n"
|
||||
" Annars skrivs det aktuella värdet på den specificerade resursen. Om\n"
|
||||
" ingen flagga ges antas -f.\n"
|
||||
" \n"
|
||||
@@ -5295,7 +5295,7 @@ msgstr ""
|
||||
" \n"
|
||||
" Flaggor:\n"
|
||||
" -p\tskriv existerande kompletteringsspecifikationer på ett\n"
|
||||
" återanvändningsbart format\n"
|
||||
" återanvändbart format\n"
|
||||
" -r\tta bort en kompletteringsspecifikation för varje NAMN eller\n"
|
||||
" om inga NAMN är givna, alla kompletteringsinformationer\n"
|
||||
" -D\tanvänd kompletteringarna och åtgärderna som standard för\n"
|
||||
@@ -5366,7 +5366,7 @@ msgstr ""
|
||||
" \n"
|
||||
" Flaggor:\n"
|
||||
" \t-o flagga\tSätt kompletteringsflagga FLAGGA för varje NAMN\n"
|
||||
" \t-D\t\tÄndra flaggorna för ”standard kommandokomplettering\n"
|
||||
" \t-D\t\tÄndra flaggorna för ”standard” kommandokomplettering\n"
|
||||
" \t-E\t\tÄndra flaggorna för den ”tomma” kommandokompletteringen\n"
|
||||
" \n"
|
||||
" Genom att använda ”+o” istället för ”-o” slås den angivna flaggan av.\n"
|
||||
@@ -5381,7 +5381,7 @@ msgstr ""
|
||||
" \n"
|
||||
" Slutstatus:\n"
|
||||
" Returnerar framgång om inte en ogiltig flagga ges eller NAMN inte har\n"
|
||||
" någon kompletteringsspecifikaation definierad."
|
||||
" någon kompletteringsspecifikation definierad."
|
||||
|
||||
#: builtins.c:2023
|
||||
msgid ""
|
||||
|
||||
Reference in New Issue
Block a user