[sane-devel] Proposals for scanimage and sane-find-scanner

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 13 Jan 2002 16:04:30 +0100


Hi,

On Thu, Jan 10, 2002 at 08:22:34PM +0100, abel deuring wrote:
> I like the idea. But perhaps we could add only one option (let's call it
> "-f"), which would need a format parameter, like so:
> 
> for the same output as from scanimage -L:
> 
>    scanimage -f="device '%d' is a %v %m %t"
> 
> to get the same output as with your proposal for scanimage -s:
> 
>    scanimage -f='"%d" "%v" "%m" "%t"'
> 
> to get the same output as with your variant "scanimage -S":
> 
>    scanimage -f='DEVICE_FILE[%i]='%s'; DEVICE_VENDOR[%i]="%v";
> DEVICE_MODEL[%i]="%m"; DEVICE_TYPE[%i]="%t"'

Looks nice. Anyone has a patch? :-)

Bye,
  Henning