printf

格式化输出,比print更好用的命令 格式 -v var:将结果输出到变量var中而不是输出到标准输出。format:必须指定输出格式。arguments:一到多个参数。 format转义符 序列符 ......