Yannick Boetzel 7 gadi atpakaļ
vecāks
revīzija
5584b4e0f7
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      30-zpool-bar
  2. 1 1
      35-diskspace

+ 1 - 1
30-zpool-bar

@@ -40,6 +40,6 @@ for line in "${zpools[@]}"; do
     done
     bar+="${undim}]"
     # print usage line & bar
-    echo "${line}" | awk '{ printf("%-10s%+3s used out of %+5s\n", $1, $2, $3); }' | sed -e 's/^/  /'
+    echo "${line}" | awk '{ printf("%-30s%+3s used out of %+5s\n", $1, $2, $3); }' | sed -e 's/^/  /'
     echo -e "${bar}" | sed -e 's/^/  /'
 done

+ 1 - 1
35-diskspace

@@ -36,6 +36,6 @@ for line in "${dfs[@]}"; do
     done
     bar+="${undim}]"
     # print usage line & bar
-    echo "${line}" | awk '{ printf("%-30s%+3s used out of %+5s\n", $1, $2, $3); }' | sed -e 's/^/  /'
+    echo "${line}" | awk '{ printf("%-31s%+3s used out of %+4s\n", $1, $2, $3); }' | sed -e 's/^/  /'
     echo -e "${bar}" | sed -e 's/^/  /'
 done