1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00
pacman/contrib
Dan McGee 1ba0d84da2 pacsearch: rewrite in perl
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>
2008-05-10 11:04:17 -05:00
..
bash_completion Kill the dependsonly option. 2008-03-22 18:39:15 +01:00
gensync remove --force option from repo-add. 2008-02-05 19:35:41 -06:00
Makefile.am Merge branch 'maint' 2008-04-01 22:14:58 -05:00
pacdiff Quote filenames in find expression in pacdiff 2008-04-06 10:44:44 -05:00
pacsearch pacsearch: rewrite in perl 2008-05-10 11:04:17 -05:00
PKGBUILD.vim Merge branch 'maint' 2008-03-22 11:11:22 -05:00
re-pacman Remove .FILELIST generation from makepkg (and elsewhere) 2007-12-29 11:58:23 -06:00
README Merge branch 'maint' 2008-03-09 12:03:54 -05:00
updatesync remove --force option from repo-add. 2008-02-05 19:35:41 -06:00
vimprojects rename vimproject to vimprojects and update it. 2008-03-08 21:00:56 -06:00
wget-xdelta.sh contrib/wget-xdelta.sh: Replaced with an improved version. 2007-06-04 22:00:56 -04:00
zsh_completion Kill the dependsonly option. 2008-03-22 18:39:15 +01:00

Here is a brief description of the files included in this directory:

PKGBUILD.vim - a vim/gvim syntax file for PKGBUILDs. Colors known variable
names, highlights common errors such as invalid characters in pkgname or
pkgver, etc.

bash_completion - a bash completion script for pacman, install in
/etc/bash_completion.d/ for use (but rename to something descriptive!).

zsh_completion - a zsh completion script, install (with a rename) to
/usr/share/zsh/site-functions/.

pacdiff - a simple pacnew/pacorig/pacsave updater for /etc/.

pacsearch - a colorized search combining both -Ss and -Qs output. Installed
packages are easily identified with a *** and local-only packages are also
listed.

re-pacman - regenerate a pacman package based on installed files and the pacman
database entries. Useful for reuse, or possible config file extension.

vimprojects - a project file for the vim project plugin.

wget-xdelta.sh - A download script for pacman which allows binary deltas
generated with makepkg to be used instead of downloading full binary packages.
This should cut download sizes for some package upgrades significantly.

gensync, updatesync - The former repository management scripts that have since
been superseded by repo-add and repo-remove. They are here for posterity's
sake, and to show how repo-add and repo-remove can be wrapped in other scripts.