http://stackoverflow.com/questions/26296754/passin g-file-directly-to-nano-fails-with-sighup-or-sigte rm