[sane-devel] perfection v10

valerio bardo1950 at fastwebnet.it
Mon Jan 6 13:55:08 GMT 2020


hi Olaf,
thanks a lot

Il 06/01/20 13:45, Olaf Meeuwissen ha scritto:
> Hi Valerio,
> 
> valerio writes:
> 
>> Il 05/01/20 13:45, Olaf Meeuwissen ha scritto:
>>> Hi Valerio,

> 
>    expr: syntax error: missing argument after "-"
> 
> reported on the list in these two threads
> 
>    https://alioth-lists.debian.net/pipermail/sane-devel/2019-November/037275.html
>    https://alioth-lists.debian.net/pipermail/sane-devel/2019-November/037277.html

i am reading...

> 
>    sh -x make-policy-file --force --mode udev \
> 	    --registry /var/lib/iscan-data/clean-files \
>              --out-file policy.out > log.out 2>&1
> 

here is:

+ LC_COLLATE=POSIX
+ export LC_COLLATE
+ DO_HELP=no
+ DO_VERS=no
+ FORCE=no
+ QUIET=no
+ TEST=no
+ MODE=
+ DESC_FILE=
+ USB_FILE=
+ MATCHING_FILE=
+ OUT_FILE=
+ TEMPLATE=
+ REGISTRY=
+ PKG_VERS=
+ getopt --options hvfqm:d:o:t:r:p: --longopt 
help,version,force,quiet,test --longopt 
mode:,desc-file:,usb-file:,out-file:,template: --longopt 
registry:,pkg-vers: -- --force --mode udev make-policy-file --registry 
/var/lib/iscan-data/clean-files --out-file policy.out
+ parsed_opts= --force --mode 'udev' --registry 
'/var/lib/iscan-data/clean-files' --out-file 'policy.out' -- 
'make-policy-file'
+ test 0 != 0
+ eval set --  --force --mode 'udev' --registry 
'/var/lib/iscan-data/clean-files' --out-file 'policy.out' -- 
'make-policy-file'
+ set -- --force --mode udev --registry /var/lib/iscan-data/clean-files 
--out-file policy.out -- make-policy-file
+ test x-- != x--force
+ FORCE=yes
+ shift
+ test x-- != x--mode
+ MODE=udev
+ shift 2
+ test x-- != x--registry
+ REGISTRY=/var/lib/iscan-data/clean-files
+ shift 2
+ test x-- != x--out-file
+ OUT_FILE=policy.out
+ shift 2
+ test x-- != x--
+ shift
+ test 0 -ne 1
+ mesg warning: ignoring remaining command line arguments
+ basename make-policy-file
+ echo make-policy-file: warning: ignoring remaining command line arguments
make-policy-file: warning: ignoring remaining command line arguments
+ test xno != xno
+ test xno != xno
+ test x = xudev
+ test xfdi != xudev
+ test xudev != xudev
+ test xyes = xno
+ test x = x/var/lib/iscan-data/clean-files
+ test x != x/var/lib/iscan-data/clean-files
+ test x = x
+ mesg error: use of --registry requires use of --pkg-vers
+ basename make-policy-file
+ echo make-policy-file: error: use of --registry requires use of --pkg-vers
make-policy-file: error: use of --registry requires use of --pkg-vers
+ exit 2


> If the policy.out file is not empty, please attach that too.

i am sorry, but i don't know where to find it...


> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
>   GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>   Support Free Software                        https://my.fsf.org/donate
>   Join the Free Software Foundation              https://my.fsf.org/join
> 

valerio



More information about the sane-devel mailing list