]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Zamiana znaków tabulacji pojedynczymi spacjami - komunikat pomocy, funkcja 'idle...
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 15 Jul 2023 12:20:20 +0000 (14:20 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 15 Jul 2023 12:20:20 +0000 (14:20 +0200)
idle.sh

diff --git a/idle.sh b/idle.sh
index 557df044408efac85d101a3b034c8c6adbd60d72..c89b9af6c65be367b2cefd6942c9b560f35097f9 100644 (file)
--- a/idle.sh
+++ b/idle.sh
@@ -70,7 +70,7 @@ function idle-fetch-containers() {
   
   function list-containers() {
     for contName in $(grep $@ $DATABASE | cut -d ";" -f 3 | awk '{printf $1" "}'); do
-      echo -e "\t\t $contName";
+      echo -e "  $contName";
     done
   }
 
@@ -97,19 +97,19 @@ function idle-fetch-containers() {
     done
     echo;
     echo "Groups:";
-    echo -e "\t --deb - based on APT package manager";
+    echo -e " --deb - based on APT package manager";
     grepOpts="deb.sh";
     list-containers $grepOpts;
     #for contName in $(grep 'deb.sh' $DATABASE | cut -d ";" -f 3 | awk '{printf $1" "}'); do
     #  echo -e "\t\t $contName";
     #done
-    echo -e "\t --rpm - based on RPM package manager";
+    echo -e " --rpm - based on RPM package manager";
     grepOpts='-E rpm.sh|fedora.sh|opensuse.sh|alt.sh';
     list-containers $grepOpts;
     #for contName in $(grep -E 'rpm.sh|fedora.sh|opensuse.sh|alt.sh' $DATABASE | cut -d ";" -f 3 | awk '{printf $1" "}'); do
     #  echo -e "\t\t $contName";
     #done
-    echo -e "\t --other - other containers not fit to above groups:";
+    echo -e " --other - other containers not fit to above groups:";
     grepOpts='-v -E rpm.sh|fedora.sh|opensuse.sh|alt.sh|deb.sh';
     list-containers $grepOpts;
     return 1;