Pádraig Brady <p...@draigbrady.com> writes: > Jari Aalto wrote: > >> Pádraig Brady <p...@draigbrady.com> writes: >> >>> Jari Aalto wrote: >>> >>>> Package: fslint >>>> Version: 2.40-2 >>>> Severity: normal >>>> Tags: patch >>>> >>>> >>>> The options are not removed, so they got passed to find(1) call. >>>> The following patch fixes this. Correction is against SVN 238. >>>> as per http://code.google.com/p/fslint/source/checkout >>> Nope, getfpf resets the arg list. >>> Do you have a reproducible failure? >> >> The problem was observed in this case during testing what the programs >> do. >> >> $ cd /usr/share/fslint/fslint/ >> $ sh -x findbl -c >> >> find: unknown predicate `-c' > > Right. the scripts pass unhandled options on to find. > findbl doesn't handle -c and passes it to find as expected.
Yes, but the for-loop at the begining is used to treat the options and can adjust the positional parameters. The patch fixes the handling in all cases. Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org