Control an inferior text editor from a superior text processing scripting language?
I use this technique occasionally in CLI programs which require entering a fair amount of text: I generate a YAML or JSON file which prompts for the desired input, write it to a temporary file, then launch $ENV{EDITOR} || '/usr/bin/vi' to edit the file.
It works well for programs where I can assume users have the appropriate technical skills.
In reply to Re^2: Is it possible to open notepad?
by chromatic
in thread Is it possible to open notepad?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |