From 21c035aa283ded2ef424d3310972c4706412215a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 11 Feb 2019 19:25:10 +0000 Subject: [PATCH] feat: ignore first line of serverlist.csv --- linuxgsm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxgsm.sh b/linuxgsm.sh index cbccd45e6..757ac5493 100755 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -287,7 +287,7 @@ if [ "${shortname}" == "core" ]; then if [ "${userinput}" == "list" ]; then { - awk -F "," '{print $2 "\t" $3}' "${serverlist}" + tail -n +2 "${serverlist}"|awk -F "," '{print $2 "\t" $3}' } | column -s $'\t' -t | more exit elif [ "${userinput}" == "install" ]||[ "${userinput}" == "i" ]; then