You can use the following tools to edit, convert, and otherwise manipulate text.
awk
Pattern-matching language for textual database files.
cut
Tool that selects columns for display.
emacs
GNU Emacs.
ex
Line editor underlying vi .
fmt
Produces roughly uniform line length.
groff
Document formatting system that can render troff typesetting macros to PostScript, HTML, and other formats.
join
Merges different columns into a database.
paste
Merges columns or switches their order.
pico
Simple text editor designed for use with the Pine mailer. Note that the version of pine that ships with Mac OS X is much older than the current release.