ab is very helpful fast ans concise, I suggest adding these existing features, like displaying:
- tree,
- size
- info if needed again; ( that helped making the 'default' menu option to redisplay the menu choices instead of displaying the info again and again ).
- some screen 'clear'-ing for readability
here is a suggested diff:
--- old ab
+++ new ab
@@ -6,0 +7 @@
+ clear
@@ -13,0 +15 @@
+ clear
@@ -36,0 +39,9 @@
+displayTree(){
+ tce-fetch.sh "$EXTN".tree
+ less "$EXTN".tree
+ rm "$EXTN".tree
+}
+displaySize(){
+ clear
+ tce-size "$EXTN"
+}
@@ -51,2 +62,2 @@
-[ -n "$EXTN" ] && echo -n "I)nstall O)nDemand D)epends F)iles L)ist "
-echo -n "S)earch, P)rovides, or Q)uit: "; read -s -n1 ANS; echo
+[ -n "$EXTN" ] && echo && echo -n "A)bout I)nstall O)nDemand D)epends T)ree F)iles siZ)e L)ist "
+echo -n "S)earch P)rovides or Q)uit: "; read -s -n1 ANS; echo
@@ -53,0 +65 @@
+ A|a) displayInfo ;;
@@ -56,0 +69,2 @@
+ T|t) displayTree ;;
+ Z|z) displaySize ;;
@@ -62 +76 @@
- *) displayInfo ;;
+ *) ;; #displayInfo ;;
hope this can be useful