dgrep: Properly handle more than one package or glob as parameter
The man page promises that dgrep can handle more than one package name
or glob expression as parameter, but dgrep passed them all at once to
dglob despite dglob can only handle one glob expression per call.
Looping over the parameters, passing them one by one to a single dglob
call each and then piping output from all dglob calls to xargs solves
the issue.
Axel Beckert
9 years ago
5 | 5 | * [dgrep] |
6 | 6 | - Fix old name "dpkg-grep" in error message. |
7 | 7 | - Consistently prefix error messages with program name. |
8 | - Properly handle more than one package or glob as parameter as | |
9 | promised by the man page. (dglob can only handle one glob parameter | |
10 | per call.) | |
8 | 11 | |
9 | 12 | [ Javier Fernández-Sanguino ] |
10 | 13 | * [checkrestart]: |