mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-09 13:10:50 +02:00
change to behavior of '&' in pattern substitution replacement string; fix for blank lines in multiline commands saved in command history
This commit is contained in:
@@ -11,6 +11,12 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# since we look at functions below, remove all functions now
|
||||
funcs=$(compgen -A function)
|
||||
if [ -n "$funcs" ]; then
|
||||
unset -f $funcs
|
||||
fi
|
||||
|
||||
a()
|
||||
{
|
||||
x=$((x - 1))
|
||||
|
||||
Reference in New Issue
Block a user