How to capture the column of table?
owenstake opened this issue · 0 comments
owenstake commented
I want to hint all the columns at the table with regex, but it seems so complicated. Any ideas?
$ openstack server list
+--------------------------------------+-----------------------------+---------+-------------------------+-----------------------------+------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-----------------------------+---------+-------------------------+-----------------------------+------------+
| 8de97c6f-bd4e-4f23-b8ee-1d9841082760 | test_7 | ACTIVE | Internal=192.168.0.10 | test_6_snapshot_cli | hc1.small |
| 120fc769-ec99-4025-b456-320d8a17a158 | test_6 | ACTIVE | Internal=192.168.0.173 | test_5_snap_cli | hc1.small |
| e93b3344-6d78-4273-880f-220b7fbec417 | test_5 | ACTIVE | Internal=192.168.0.186 | CentOS 8 (ce8-x86_64) | hc1.small |
+--------------------------------------+-----------------------------+---------+-------------------------+-----------------------------+------------+