此命令中的 -.*$/ 是什么意思?请帮我破译这个。
echo -n full | sed -e "s/-.*$//"
我知道 sed 的作用以及所有这些,我只想知道 -.*$ 部分是什么。
linux bash shell sed
bash ×1
linux ×1
sed ×1
shell ×1