Date: Tuesday, March 6, 2007 @ 17:08:12 Author: dan Path: /home/cvs-pacman/pacman-lib/contrib Modified: pacsearch (1.2 -> 1.3) * Oops, that last commit had some debug stuff in it. Removed it and added --help and --version command line flags to contrib/pacsearch. -----------+ pacsearch | 5 ----- 1 file changed, 5 deletions(-) Index: pacman-lib/contrib/pacsearch diff -u pacman-lib/contrib/pacsearch:1.2 pacman-lib/contrib/pacsearch:1.3 --- pacman-lib/contrib/pacsearch:1.2 Tue Mar 6 17:06:28 2007 +++ pacman-lib/contrib/pacsearch Tue Mar 6 17:08:12 2007 @@ -50,18 +50,15 @@ exit 1 fi -echo "debug 1" # Make two temp files and send output of commands to these files querydump=$(mktemp) pacman -Qs $1 > $querydump syncdump=$(mktemp) pacman -Ss $1 > $syncdump -echo "debug 2" # Strip descriptions and 'local/' from -Qs query instpkg=$(mktemp) egrep '^[^ ]' $querydump | sed -e 's@^local/@@' > $instpkg -echo "debug 3" # Add pkgs not in sync db, mark pkgs that are installed cat $instpkg | while read -r pkg; do @@ -73,7 +70,6 @@ sed -i "s@^\(.\+/$pkg\)@\***\1@" $syncdump done -echo "debug 4" # Print colorized package list and descriptions to screen echo -e "$(sed -r \ -e "s@current/.*@$CLR1&$BASE@" \ @@ -88,7 +84,6 @@ < $syncdump )" echo -en "\e[0m" -echo "debug 5" rm $querydump rm $syncdump rm $instpkg