Append text to tar archive, get it with 'strings'

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#16 Post by sc0ttman »

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...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#17 Post by technosaurus »

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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply