📜  awk 大写第一个字符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:46.298000             🧑  作者: Mango

代码示例1
echo example | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1'
Example        #Example first upppercased outputed