- install astyle
- edit it, e.g.
nano ~/.astylerc - Write there the default configuration for Horstmann:
style=horstmann
indent=spaces=4
align-pointer=type
align-reference=type
pad-comma
| 03:00.0 Ethernet controller [0200]: Mellanox Technologies MT27800 Family [ConnectX-5] [15b3:1017] | |
| Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5] [15b3:0074] | |
| Physical Slot: 4 | |
| Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- | |
| Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- | |
| Interrupt: pin A routed to IRQ 24 | |
| NUMA node: 0 | |
| Region 0: Memory at 380802000000 (64-bit, prefetchable) [size=32M] | |
| Expansion ROM at ef100000 [disabled] [size=1M] | |
| Capabilities: [60] Express (v2) Endpoint, MSI 00 |
| response: { | |
| user: { | |
| uid: 1, | |
| first_name: 'Павел', | |
| last_name: 'Дуров', | |
| nickname: '', | |
| screen_name: 'durov', | |
| sex: 2, | |
| bdate: '10.10.1984', | |
| city: '2', |