OSDN Git Service

[fix] : Fixed SC2005
authorhayao <hayao@fascode.net>
Mon, 2 Aug 2021 08:16:33 +0000 (17:16 +0900)
committerhayao <hayao@fascode.net>
Mon, 2 Aug 2021 08:16:33 +0000 (17:16 +0900)
tools/wizard.sh

index de87c4c..aa7666f 100755 (executable)
@@ -65,9 +65,7 @@ msg_n() {
 
 # Usage: getclm <number>
 # 標準入力から値を受けとり、引数で指定された列を抽出します。
-getclm() {
-    echo "$(cat -)" | cut -d " " -f "${1}"
-}
+getclm() { cut -d " " -f "${1}"; }
 
 # 使い方
 Function_Global_help() {