Output of a command in the right format? grep/tr/cut?
Hi Linux Friends,
Here is a command output
+--------------+--------------------------------------------------+
| accountname | Clients |
| address | 1.1.1.1 |
| devicename | MyDI Vcenter |
+--------------+--------------------------------------------------+
| accountname | Safety |
| address | 2.2.2.2 |
| devicename | MyDI Vcenter |
'--------------+--------------------------------------------------'
How do I get the output appears only like this?
+--------------+--------------------------------------------------+
| accountname | Safety |
| address | 2.2.2.2 |
| devicename | MyDI Vcenter |
'--------------+--------------------------------------------------'
Thanks
|