WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: posibility using tcz/tags.db as a method of selecting set's of extentions  (Read 1368 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 642
  • ~.~

hi *

was just reading 
this post "Installation guide interface, providing the best minimalist installation experie" 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