parse.y
- read_token_word: set dollar_present if we see <( or >), backing
out change from 2/4/2023
+
+[bash-5.3 frozen]
+
+ 7/2
+ ---
+tests/printf7.sub,tests/exec3.sub
+ - changes to compensate for some system differences (macos/Linux/BSD)
}
}
#else
- rl_point++:
+ rl_point++;
#endif
return point;
}
pr = decodeint (&fmt, 1, -1);
/* pr < precision means we adjusted precision in printf_builtin
for the quoted string length (%Q), so we use the adjusted value */
+#if 0 /*TAG:bash-5.4 20250702 */
+ if (pr >= 0 && pr < precision)
+#else
if (pr < precision)
+#endif
pr = precision;
}
else
\fIinteger\fP attribute using \fBdeclare \-i\fP is assigned a value.
A null value evaluates to 0.
A shell variable need not have its \fIinteger\fP attribute
-turned on to be used in an expression.
+enabled to be used in an expression.
.PP
Integer constants follow the C language definition, without suffixes or
character constants.
-BASHBUG(1) General Commands Manual BASHBUG(1)
-
-
+_\bB_\bA_\bS_\bH_\bB_\bU_\bG(1) General Commands Manual _\bB_\bA_\bS_\bH_\bB_\bU_\bG(1)
N\bNA\bAM\bME\bE
bashbug - report a bug in bash
e\bem\bma\bac\bcs\bs. If b\bba\bas\bsh\bhb\bbu\bug\bg cannot locate any of the alternative editors,
it attempts to execute v\bvi\bi.
- H\bHO\bOM\bME\bE Directory in which the failed bug report is saved if the mail
+ H\bHO\bOM\bME\bE Directory in which the failed bug report is saved if the mail
fails.
T\bTM\bMP\bPD\bDI\bIR\bR Directory in which to create temporary files and directories.
Chet Ramey, Case Western Reserve University
chet@po.cwru.edu
-
-
-GNU Bash 5.2 2020 August 1 BASHBUG(1)
+GNU Bash 5.3 2020 August 1 _\bB_\bA_\bS_\bH_\bB_\bU_\bG(1)
.\"
.\" Last Change: Sun Aug 2 15:39:07 EDT 2020
.\"
-.TH BASHBUG 1 "2020 August 1" "GNU Bash 5.1"
+.TH BASHBUG 1 "2020 August 1" "GNU Bash 5.3"
.SH NAME
bashbug \- report a bug in bash
.SH SYNOPSIS
when it is referenced, or when a variable which has been given the
@code{integer} attribute using @samp{declare -i} is assigned a value.
A null value evaluates to 0.
-A shell variable need not have its @code{integer} attribute turned on
+A shell variable need not have its @code{integer} attribute enabled
to be used in an expression.
Integer constants follow the C language definition, without suffixes or
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
bash(1), sh(1)
-GNU Bash 5.2 2023 January 27 _\bB_\bA_\bS_\bH_\b__\bB_\bU_\bI_\bL_\bT_\bI_\bN_\bS(1)
+GNU Bash 5.3 2023 January 27 _\bB_\bA_\bS_\bH_\b__\bB_\bU_\bI_\bL_\bT_\bI_\bN_\bS(1)
.de FN
\fI\|\\$1\|\fP
..
-.TH BASH_BUILTINS 1 "2023 January 27" "GNU Bash 5.2"
+.TH BASH_BUILTINS 1 "2023 January 27" "GNU Bash 5.3"
.SH NAME
:, ., [, alias, bg, bind, break, builtin, caller,
cd, command, compgen, complete, compopt,
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
bash(1)
-Bash-5.2 2021 November 22 _\bR_\bB_\bA_\bS_\bH(1)
+Bash-5.3 2021 November 22 _\bR_\bB_\bA_\bS_\bH(1)
-.TH RBASH 1 "2021 November 22" "Bash-5.2"
+.TH RBASH 1 "2021 November 22" "Bash-5.3"
.SH NAME
rbash \- restricted bash, see \fBbash\fR(1)
.SH RESTRICTED SHELL
126
0
this is bashenv
-trap -- 'echo EXIT' EXIT
trap -- '' SIGTERM
trap -- 'echo USR1' SIGUSR1
+trap -- 'rm -f x.sh x.output ; echo EXIT' EXIT
USR1
-./exec3.sub: line 38: /tmp/bash-notthere: No such file or directory
+./exec3.sub: line 45: /tmp/bash-notthere: No such file or directory
./exec3.sub: ENOENT: after failed exec: 127
-./exec3.sub: line 43: exec: bash-notthere: not found
-trap -- 'echo EXIT' EXIT
+./exec3.sub: line 50: exec: bash-notthere: not found
trap -- '' SIGTERM
trap -- 'echo USR1' SIGUSR1
+trap -- 'rm -f x.sh x.output ; echo EXIT' EXIT
USR1
EXIT
./execscript: line 103: notthere: command not found
shopt -s execfail
-trap 'echo EXIT' EXIT
+trapsort()
+{
+ trap > x.output
+ sort x.output && rm -f x.output
+}
+
+trap 'rm -f x.sh x.output ; echo EXIT' EXIT
trap 'echo USR1' USR1
trap '' TERM
-trap
+
+trapsort
kill -s USR1 $$ # should run the trap
esac
rm -f x.sh x.output
-trap
+trapsort
kill -s USR1 $$ # should run the trap
kill -s TERM $$ # should still be ignored
# can't test %s, too many varying implementations
#printf "%.${TOOBIG}s\n" XY
-printf -v VAR "%.${TOOBIG}s\n" XY
-echo $VAR
-unset -v VAR
+printf_overflow $LINENO "%.${TOOBIG}b\n" XY
printf_overflow $LINENO "%.${TOOBIG}Q\n" XY
echo "warning: the text of a system error message may vary between systems and" >&2
echo "warning: produce diff output." >&2
-echo "warning: UNIX versions number signals differently." >&2
-echo "warning: If output differing only in line numbers is produced, please" >&2
-echo "warning: do not consider this a test failure." >&2
echo "warning: if the text of the error messages concerning \`notthere' or" >&2
echo "warning: \`/tmp/bash-notthere' not being found or \`/' being a directory" >&2
echo "warning: produce diff output, please do not consider this a test failure" >&2