Skip to content

lsys produces 'pretty print' output that is hard to parse - add option for parse-able output #23

@jmspit

Description

@jmspit

To be able to extract data from lsys output the format should be more csv - like.

$ build/lsys -t block
sysfs                                                                           type        
------------------------------------------------------------------------------- ------------
/sys/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0/block/sda   SCSI device 

is harder to parse then

$ build/lsys -t block -d ';'
/sys/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0/block/sda;SCSI device 

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions