📜  shell 子字符串最后一个字符 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:40.837000             🧑  作者: Mango
代码示例1
echo -n $str | tail -c 1
# gets the last character, increase number to get more characters