Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Conditional Bug?



On Oct 29,  4:37pm, Joel J. Adamson wrote:
}
} Okay, I've done some more experimenting (including setting the
} variables to arrays and other things) and discovered that a big
} problem is that when the filenames get through to the tar command,
} they are quoted, and thus the tilde does not expand.

You're being misled.  The trace will show them quoted so that cut-and-
paste will work, even if they weren't quoted originally.

What you need is not to remove quoting, but to enable file expansion:

    ${~arrayname}



Messages sorted by: Reverse Date, Date, Thread, Author