toupper和tolower函数可用于字符串大小间的转换,该功能只在gawk中有效。格式如下: toupper( string ) tolower( string ) 实例: $ awk ‘{ print toupper(“test”), tolower(“TEST”) }’