Command Line
From E
Command Line Tool
E comes with a separate command line tool that allows you to open documents from the command line or external applications/scripts. This is a separate tool so that it can interact with shell piping and you can control it's lifetime independent of the main app (whether it should return immediately or wait til you have finished editing the document).
The command line tool is also just called e.exe, and is added to the path so that it is available from the commend line. To get a list of all options run "e -h".
You can pipe text in and out of the editor, which allows you to make manual changes in the process:
cat records.txt | sort | e | process_records
The Main App
The application itself has a few options which are not available from the commands line tool (as they don't make sense with an already running instance):
--clearstate : Don't reload files from last session. --clearlayout : Resets window layout and positions. --clearundo : Clear undo history for all un-milestoned files.
To use these make sure that your current directory is where you installed e, so that you are not just running the command line tool:
cd "C:\Program Files\e" e.exe --clearstate
