title: How to invoke "EDITOR" environment variable to open/edit file, in a secure way?
body: <p>Is there a way to use the EDITOR or VISUAL environment variables in a bash script to edit a given file using the editor of the users choice?</p>