bjonnh / owon-sds7102-protocol

A GNU/Linux software suite for handling Owon oscilloscopes
33 stars 6 forks source link

Add support for reading files from stdin #4

Open ahorn42 opened 4 years ago

ahorn42 commented 4 years ago

I added support to read files from stdin for owon-parse to use it together with my tool (see https://git.c3pb.de/ahorn/owon-osziloscope) by simply piping the retrieved file (via LAN) to owon-parse by calling it with owon-parse -.

If you want you can add this to your project as well :)

Sorry for probably bad coding style - I am no very used to C :confused: