minor fixes and improvements
[distro-setup] / brc2
diff --git a/brc2 b/brc2
index 551c974eaf350e4d5c0e6ffee5448c12525621dc..a28d7b7e970a94cc580735002110a3ea675df1b4 100644 (file)
--- a/brc2
+++ b/brc2
@@ -2562,7 +2562,10 @@ ilog-local() {
     cd $d$n/"$chan"
     hr
     for x in *; do
-      echo $x; sed "s/^./${x%log}/" $x; hr;
+      # *** are parts and joins and such, and they make reading hard.
+      # I probably will want to see them sometimes, just have to
+      # remove that part.
+      echo $x; sed "s/^./${x%log}/;/\*\*\*/d" $x; hr;
     done
   done
 }
@@ -4507,7 +4510,7 @@ obs-gen-profiles() {
 # terminal clear. like clear, but put the prompt at the bottom,
 # useful for obs streaming the bottom half of a terminal window.
 tclear() {
-  for ((i=i; i<COLUMNS; i++)); do
+  for ((i=0; i<COLUMNS; i++)); do
     echo
   done
 }