On Thu, Mar 21, 2013 at 05:00:58PM +0800, Zhang Xiaohe wrote:
> This patch makes '~' and '$HOME' can be recognized by virsh in
> interactive mode. These two variables are replaced with real
> path.

If we're going to the trouble of expanding $HOME, then we might
as well just make it expand arbitrary environment variables
rather than hardcoding $HOME.

Also, we'll need a way to escape the special meaning of '~'
and '$' to get them treated as literal characters instead of
special characters.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to