你如果想输出 /dev/sda: [空格] 21GB 这种格式应该是:awk -v FS='' print $2, " ", $3, "GB"print 默认以空格为分隔符, \n为换行, 即: 一个print一行;FS修改分隔符, RS修改换行符