summaryrefslogtreecommitdiff
path: root/contrib/pacsearch
Commit message (Collapse)AuthorAge
* pacsearch: quote args passed to pacmanDan McGee2008-07-24
| | | | | | | Something such as "pacsearch foo|bar" would cause problems due to the quoting being dropped. Adding quotes solves the problem. Signed-off-by: Dan McGee <dan@archlinux.org>
* pacsearch: rewrite in perlDan McGee2008-05-10
| | | | | | | | | | | | | | | | | | | | | | This rewrite in perl blows the socks off the old shell script version for large searches: $ time ./pacsearch.perl ^.*$ >/dev/null real    0m0.836s user    0m0.593s sys     0m0.217s $ time pacsearch.sh ^.*$ >/dev/null real    1m53.818s user    1m16.818s sys     0m33.694s Functionality and output is identical to the old version with the exception of the old version's missing EOL after all the output. It should be a lot easier to add new things like the --color flag that has been a TODO at the top of the script for a long time. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update GNU GPL boilerplate and copyright datesDan McGee2007-12-10
| | | | | | | Update the GPL boilerplate to direct people to the GNU website for a copy of the license, as well as bump all of Judd's copyrights to 2007. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove a dead mirror, update contrib/pacsearch for core changeDan McGee2007-09-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* * Oops, that last commit had some debug stuff in it. Removed it and addedDan McGee2007-03-06
| | | | --help and --version command line flags to contrib/pacsearch.
* * -Qs was returning an error if no package found, which is not the same ↵Dan McGee2007-03-06
| | | | behavior as -Ss.
* * Adding pacsearch - a script to search both the sync repos and locallyDan McGee2007-02-17
installed packages in color, and indicate those which are installed.