如果你出错了 failed to compile regex: illegal byte sequence 然后从ifs中删除空值。(替换) ${IFS} 具有 ${IFS//$'\0'/} )
failed to compile regex: illegal byte sequence
${IFS}
${IFS//$'\0'/}