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

Christophe Fergeau cfergeau at redhat.com
Fri Mar 22 09:34:47 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130322/5590da89/attachment-0001.sig>


More information about the libvir-list mailing list