有没有办法在 bash 脚本中使用 EDITOR 或 VISUAL 环境变量来使用用户选择的编辑器编辑给定的文件?
bash shell scripting editor
bash ×1
editor ×1
scripting ×1
shell ×1