在批处理脚本中,我有以下内容:
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password PASSWORDHERE'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password PASSWORDHERE'
这会抛出与这些行相关联的错误消息unexpected redirection
,为什么会发生这种情况?如何绕过它?