Re: [sane-devel] parsing help output of scanimage there has got to be a better way?

2017-09-18 Thread Jeff Sadowski
On Mon, Sep 18, 2017 at 2:56 PM, Jeff Sadowski wrote: > > > On Mon, Sep 18, 2017 at 2:15 PM, Jeff wrote: > >> On 18/09/17 21:28, Jeff Sadowski wrote: >> > The extremely hard part is coming up with a way to parse the stdout of >> > "scanimage -h" >> >

Re: [sane-devel] parsing help output of scanimage there has got to be a better way?

2017-09-18 Thread Jeff Sadowski
On Mon, Sep 18, 2017 at 2:15 PM, Jeff wrote: > On 18/09/17 21:28, Jeff Sadowski wrote: > > The extremely hard part is coming up with a way to parse the stdout of > > "scanimage -h" > > Is there a good way to to this with regular expressions or something. > > If you look at the

Re: [sane-devel] parsing help output of scanimage there has got to be a better way?

2017-09-18 Thread Jeff
On 18/09/17 21:28, Jeff Sadowski wrote: > The extremely hard part is coming up with a way to parse the stdout of > "scanimage -h" > Is there a good way to to this with regular expressions or something. If you look at the source of gscan2pdf

[sane-devel] parsing help output of scanimage there has got to be a better way?

2017-09-18 Thread Jeff Sadowski
I am trying to design a web interface like phpsane (developer no longer working on it) It looks like he had issue also with parsing the help output as phpsane didn't work for me. I had created something like phpsane myself a while ago and was using it until I upgraded and I lost my web interface.