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 28 Jul 2014, 00:12
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Append text to tar archive, get it with 'strings'
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [17 Posts]   Goto page: Previous 1, 2
Author Message
sc0ttman


Joined: 16 Sep 2009
Posts: 2373
Location: UK

PostPosted: Sat 21 Sep 2013, 14:20    Post subject:  

Thanks for the answer amigo.. Very helpful.. Yeah, I would *like* pets to contain more info, but if it's a hassle for someone like yourself to manage, it's definitely beyond me.. And I have no intention of creating a new package format..

Techno, i believe you did actually, to help me get into from the pets in the wary repo.. i will have to dig it out and have a look..


...All i really want is a nice way of adding more info to the pets like compile options, as akita still uses the old pet specs format file, i know i could whack it in there, and *guess* (?) it wouldn't break the pets *if* anyone else wanted them...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4279

PostPosted: Sat 21 Sep 2013, 15:00    Post subject:  

You can always add fields to the pet specs file... I would recommend using awk to parse them and setting. FS="|" or if you are stuck with shell, set IFS="|" before your while read LINE; ... Puppy's existing spec parsers use a bunch of slow piped commands and are really bad examples...part of the reason ppm is so damn slow
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [17 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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