Karen Etheridge <[EMAIL PROTECTED]> wrote: > Tilde expansion is not being performed when variables are being evaluated.
That's normal, documented behavior. man bash, EXPANSION: The order of expansions is: brace expansion, tilde expansion, parameter, variable and arithmetic expansion and command substitution (done in a left-to-right fashion), word splitting, and pathname expansion. So after parameter expansion, it's too late for tilde expansion. If you know that tilde is the only special character in your variable, you could use eval to pass it through a second round of expansion. paul _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash