10.4.6 确定字符串的长度10.4.6 确定字符串的长度使用内部变量length可以确定字符串的长度,示例如下: [root@localhost ~]# cat Awd.txt | awk '{print length}'30323041