13 When tilde expansion fails, POSIX leaves it unspecified whether or not the
14 word undergoes the additional word expansions. Bash-3.1 as distributed
15 skipped the rest of the expansions; this patch restores the bash-3.0 behavior.
17 This means that something like
21 will echo `~ratbert' rather than `~$USER'.
25 *** ../bash-3.1/subst.c Mon Oct 24 09:51:13 2005
26 --- subst.c Fri Dec 30 12:11:53 2005
31 temp1 = bash_tilde_expand (temp, tflag);
32 + if (temp1 && *temp1 == '~' && STREQ (temp, temp1))
36 + goto add_character; /* tilde expansion failed */
40 *** ../bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
41 --- patchlevel.h Wed Dec 7 13:48:42 2005
44 looks for to find the patch level (for the sccs version string). */
46 ! #define PATCHLEVEL 4
48 #endif /* _PATCHLEVEL_H_ */
50 looks for to find the patch level (for the sccs version string). */
52 ! #define PATCHLEVEL 5
54 #endif /* _PATCHLEVEL_H_ */