On 07/01/2010 08:38 PM, Richard W.M. Jones wrote: <snip>
virsh # pool-list --details --all Name State Autostart Persistent Capacity Allocation Available --------------------------------------------------------------------------- default running yes yes 1.79 TB 1.49 TB 304.77 GB image_dir running yes yes 1.79 TB 1.49 TB 304.77 GB tmp inactive no yes - - -
<snip>
* Space within fields "1.79 TB" (awk / sort -k in fact _won't_ work).
Tried it without the embedded spacing today (and submitted patches), but really not a fan of the output: *************************************************************************** virsh # pool-list --all --details Name State Autostart Persistent Capacity Allocation Available --------------------------------------------------------------------------- default running yes yes 19.69GB 15.97GB 3.71GB image_dir running yes yes 1.79TB 1.59TB 203.69GB tmp inactive no yes - - - *************************************************************************** Would it be workable to retain the space between the columns, instead changing the "-" value in the "pool-list --details" example like this: *************************************************************************** virsh # pool-list --all --details Name State Autostart Persistent Capacity Allocation Available --------------------------------------------------------------------------- default running yes yes 19.69 GB 15.97 GB 3.71 GB image_dir running yes yes 1.79 TB 1.59 TB 203.69 GB tmp inactive no yes -- -- -- -- -- -- *************************************************************************** Thinking this would keep the number of columns consistent, but also be readable for people. ? Regards and best wishes, Justin Clift -- Salasaga - Open Source eLearning IDE http://www.salasaga.org -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list