summaryrefslogtreecommitdiffstats
path: root/contrib/pacsearch
AgeCommit message (Collapse)AuthorFilesLines
2008-07-25pacsearch: quote args passed to pacmanDan McGee1-2/+2
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 McGee1-60/+103
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-11Update GNU GPL boilerplate and copyright datesDan McGee1-2/+1
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-17Remove a dead mirror, update contrib/pacsearch for core changeDan McGee1-1/+1
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 McGee1-5/+0
--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 McGee1-1/+19
behavior as -Ss.
2007-02-17* Adding pacsearch - a script to search both the sync repos and locallyDan McGee1-0/+77
installed packages in color, and indicate those which are installed.