Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Dec 2014, 07:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Package Collections / Repositories
search package descriptions
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
xmf-149

Joined: 02 Aug 2013
Posts: 19

PostPosted: Sun 04 Aug 2013, 09:15    Post_subject:  search package descriptions  

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

#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 &

_________________
Exclamation Exclamation Exclamation
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Package Collections / Repositories
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0360s ][ Queries: 12 (0.0037s) ][ GZIP on ]