Easy Bash Cut Delimiter

Wai*_*hin 2 bash

我有这个..

$input = "echo     a       b                c   d"
echo -e "$input" | cut -d " " -f 2-
Run Code Online (Sandbox Code Playgroud)

但我只想要一个简单的剪切,它将摆脱回声和打印

a b c d #(single space) only
Run Code Online (Sandbox Code Playgroud)

Sil*_*lox 5

echo -e "$input" | tr -s ' ' | cut -d " " -f2-
Run Code Online (Sandbox Code Playgroud)

也摆脱了'回声'.