mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 04:30:44 +02:00
commit bash-20040923 snapshot
This commit is contained in:
@@ -65,7 +65,10 @@ HOME=/usr/homes/chet
|
||||
somevar=
|
||||
expect "<$HOME>"
|
||||
recho ${somevar:-~}
|
||||
expect "<$HOME>"
|
||||
# This changed after bash-3.0, when the tilde implementation was redone. It's
|
||||
# not backward compatible, but it's very hard to be backward-compatible here,
|
||||
# and I think the old behavior was a bug
|
||||
expect '<~>'
|
||||
recho "${somevar:-~}"
|
||||
expect '<~>'
|
||||
recho "${somevar:-"~"}"
|
||||
|
||||
Reference in New Issue
Block a user