From 49ec221a92dd6405555fe1f1980fd990f3e9aca6 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Wed, 6 Jan 2010 08:20:12 +0000 Subject: [PATCH] Fix netconf alignment now that there is a number 10" Note: should fix again when we reach 100 :) --- commands/scripts/netconf.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/scripts/netconf.sh b/commands/scripts/netconf.sh index 0c7200a91..ff1e0d6be 100755 --- a/commands/scripts/netconf.sh +++ b/commands/scripts/netconf.sh @@ -86,11 +86,12 @@ card() done if [ $card_avail -gt 0 ] then - echo $card_number.\ \*\ $card_name + card_mark="*" eth_default=$card_number else - echo $card_number.\ \ \ $card_name + card_mark=" " fi + printf "%2d. %s %s\n" "$card_number" "$card_mark" "$card_name" } cards() -- 2.44.0