Pipe To E

This tool is deprecated. The author of e has included a pipe tool in the release as of version 1.0.14.

E is a powerful texteditor for windows that supports bundles from TextMate

I wanted to be able to pipe to e, so I threw together this python script and .bat file.

The .bat is due to a bug in windows that breaks stdin in some way while running a file by associated extension (like when running a python script by double clicking it)

The .bat starts the python script which reads stdin to a tempfile with random name and then starts e with the created filename as commandline argument.

As an extra feature you can use "e <filename>" as a shortcut to open a file in e.

Installation

  1. Download
  2. Extract to windows\system32 dir (or any other dir in your PATH env.)

Examples of use:

> grep -ir "regexp" * | e

or

> e mytextfile.txt

Attachments