search package descriptions

For groups of packages that don't all fall under the same category
Post Reply
Message
Author
xmf-149
Posts: 23
Joined: Fri 02 Aug 2013, 04:00

search package descriptions

#1 Post by xmf-149 »

a script, search_repos.sh i wrote to get around not being able to search everything in PPM, text editor search is used

Code: Select all

#puts enabled PPM lists to one file so you can search descriptions and within names
. /root/.packages/PKGS_MANAGEMENT
>everything
for ONEREPO in $PKG_REPOS_ENABLED
do echo $ONEREPO
cat /root/.packages/$ONEREPO|
sed -r -e 's_^([^|]*\|){7}([^|]*)\|[^|]*\|([^|]*).*_\2\t\3_'>>everything
done
defaulttexteditor everything &
:!: :!: :!:

Post Reply