[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Make virsh support '~' and '$HOME' in interactive mode



On Thu, Mar 21, 2013 at 09:43:02PM -0600, Eric Blake wrote:
> Expanding everything means re-implementing what the shell does.
> wordexp() would be ideal for this, except that wordexp() is not portable
> enough.

Maybe wordexp() could be used on platform which support it, and on
platforms that do not have it, it would not be used, and env var would not
be expanded?
Or do we want to have identical behaviour for virsh on all platforms to
avoid confusion?

Christophe

Attachment: pgp9k3jqZsmpk.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]