summaryrefslogtreecommitdiff
path: root/contrib/pacsearch
AgeCommit message (Collapse)Author
2010-05-27Update pacsearch to work with new Qs/Ss outputDan McGee
Now that we have the '[installed]' text, update pacsearch to look for it and highlight it instead of the former '***' prefix. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-07-24pacsearch: quote args passed to pacmanDan McGee
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>
2008-05-10pacsearch: rewrite in perlDan McGee
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>
2007-12-10Update GNU GPL boilerplate and copyright datesDan McGee
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>
2007-09-16Remove a dead mirror, update contrib/pacsearch for core changeDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-06* Oops, that last commit had some debug stuff in it. Removed it and addedDan McGee
--help and --version command line flags to contrib/pacsearch.
2007-03-06* -Qs was returning an error if no package found, which is not the same ↵Dan McGee
behavior as -Ss.
2007-02-17* Adding pacsearch - a script to search both the sync repos and locallyDan McGee
installed packages in color, and indicate those which are installed.