From eb473cdf4a1cf7d9d392f8d61ae193fd7a617eb4 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 15 Jul 2023 14:20:20 +0200 Subject: [PATCH] =?utf8?q?Zamiana=20znak=C3=B3w=20tabulacji=20pojedynczymi?= =?utf8?q?=20spacjami=20-=20komunikat=20pomocy,=20funkcja=20'idle-fetch-co?= =?utf8?q?ntainers',=20skrypt=20'idle.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- idle.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/idle.sh b/idle.sh index 557df04..c89b9af 100644 --- 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; -- 2.39.5