Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jmspit opened this issue Mar 5, 2021 · 0 comments
Assignees
Projects

Comments

@jmspit
Copy link
Owner

jmspit commented Mar 5, 2021

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 
@jmspit jmspit self-assigned this Mar 5, 2021
@jmspit jmspit added this to To do in leanux via automation Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
leanux
To do
Development

No branches or pull requests

1 participant