[openstack-dev] I love csv output in openstackclient, please never removed it

Thomas Goirand zigo at debian.org
Fri Oct 2 19:49:01 UTC 2015


I saw the csv output format of openstackclient going and coming back.
Please leave it in, it's super useful, especially when you combine it
with "q-text-as-data". Just try to apt-get install q-text-as-data" and
try by yourself:

openstack endpoint list --long -f csv | \
	q -d , -H 'SELECT ID FROM - WHERE `Service Name`="cinder"'

This is so much better than any awk hacks to get IDs... :)
I just wanted to share, hoping it could be useful to someone.


Thomas Goirand (zigo)

More information about the OpenStack-dev mailing list