NAME
bbdir
USAGE
bbdir /path/to/menu/tree >menu.file
DESCRIPTION
converts this:
--($:~/.blackbox/appmenu)-- ls -R
.:
apps/ net/ util/
- apps
- xterm* xterm-rv*
- net
- licq* netscape* xchat*
- util
- xcalc*
into this:
[submenu] (apps)[exec] (xterm) {./apps/xterm} [exec] (xterm-rv) {./apps/xterm-rv} [end] [submenu] (net)
[exec] (licq) {./net/licq} [exec] (netscape) {./net/netscape} [exec] (xchat) {./net/xchat} [end] [submenu] (util)
[exec] (xcalc) {./util/xcalc} [end]
AUTHOR
Justin Azoff, lowly hs cs student. hax0r@ductape.net BUGS
Code is ugly, result of writing it at 3 am.
