Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: mocore on January 25, 2021, 06:45:33 AM

Title: posibility using tcz/tags.db as a method of selecting set's of extentions
Post by: mocore on January 25, 2021, 06:45:33 AM

hi *

was just reading 
this post "Installation guide interface, providing the best minimalist installation experie (http://forum.tinycorelinux.net/index.php/topic,24732.msg157153.html#msg157153)" topic

and briefly scanned trough the archfi script , mentioned above 

https://github.com/MatMoul/archfi/blob/770f604259938bd179c29a07459eb31c62d692fa/archfi#L142

that contains a chooseeditor function
which has an array of editors

this made me wander if something like the 'K)eyword' function from tce ( which afaik uses the tags.db.gz ,  http://tinycorelinux.net/11.x/x86/tcz/tags.db.gz )
could be used in a similar function eg

Code: [Select]
editorselect() ...  editor_lst=$(  keyword_fn "editor");   
to populate the array , i guess its possible to do
anyone else see any benefit to using tags.db filter options with in scripts ??

 :o