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

Ricardo Carrillo Cruz ricardo.carrillo.cruz at gmail.com
Fri Oct 2 19:51:51 UTC 2015

Erm, yeah, I hear your pain with processing output with awk.

Having the option to output CSV is cool :-).
Thanks for sharing.


2015-10-02 21:49 GMT+02:00 Thomas Goirand <zigo at debian.org>:

> Hi,
> 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.
> Cheers,
> Thomas Goirand (zigo)
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151002/61c1afd7/attachment.html>

More information about the OpenStack-dev mailing list