Dodo is a java based stream editor for text files. Why write a stream editor when you can find
lots of programs offering the same features ? There were a few reasons -
- Platform compatibility. Same commands could work across windows or unix for example.
- Lots of common commands included in one application. Saves hassle of downloading different programs
to do different things
- Extensibility - dodo is designed so that new commands can be added easily.
A lot of commands are already included in the initial zip file (<30k in size), and new ones will be added as
a need arises. Here are some sample commands -
| Command |
Description |
| removeDuplicates |
Removes duplicate lines from the input file |
| cut |
Extract columns or fields from the input file. |
| lineEndings |
Convert line endings between dos/unix/mac formats. |
| find |
Supports regular expression based search. |
| replace |
Supports regular expression based search/replace. |
| count |
Counts matching occurrences for the given expression. |
Frequently Asked Questions
Q. Is input/output redirection supported ?
A. Dodo supports both input & output redirection. So the -input parameter can be replaced
with the
< character, and the -output can be replaced with
>. In certain cases
it has been observed that using IO redirection is faster than using the parameters.
Q. How to print usage ?
A. In a regular shell window, type in dodo.cmd, or for unix users dodo.sh. It will print
out the usage instructions.
Please send an email to
support@jalpesh.com if you have any questions in using dodo,
and I'll try to answer them as promptly as I can.
Alternatively you can also visit
the
dodo support forums for more information.
Dodo is provided as is, and is completely free for commercial and non-commercial use. Please look at the license file
for more details, or contact support if you have any questions.
The latest version of Dodo is 1.0, and it requires JDK 1.5 or higher. Download the following zip file and unzip in
the directory where it should reside.
You can run the program by calling dodo.cmd in the program directory.
Download