Chapter 3: Usage

Typically e-mlcode is used in a pipe stream. Suppose we have a file sample.dat which contains chartacters like '&' and we want to change this file so that HTML/XML processing functions should treat these '&' characters as normal characters. This is the way to achieve this:

cat sample.dat | e-mlcode -e

Off course the other way around is likewise:

cat sample.html | e-mlcode -d

Note that encoding/decoding is also available as a library function in the e-lib library. Using this library functions you may encode/decode data strings in memory.