text tools (not editors)

J

j.m.

A lot of the posts is the [Text Editors] thread seem to bemoan the lack of
serious plain text formatting features -- to that end I thought it would be
worth mentiong a very good Win32 port of the GNU Text Utilities available
from (oddly enought) GnuWin32: http://gnuwin32.sourceforge.net/

The available tools are:

cat: concatenates and prints files on the standard output
cksum: checksum and count the bytes in a file
comm: compares two sorted files line by line
csplit: splits a file into sections determined by context lines
cut: remove sections from each line of files
expand: convert tabs to spaces
fmt: simple optimal text formatter
fold: wrap each input line to fit in specified width
head: output the first part of files
join: join lines of two files on a common field
md5sum: compute and check MD5 messsage digest
nl: number lines of files
od: dump files in octal and other formats
paste: merge lines of files
ptx: produce a permuted index of file contents
pr: convert text files for printing
shasum: compute and check SHA1 message digest
sort: sort lines of text files
split: split a file into pieces
sum: checksum and count the blocks in a file
tac: concatenates and prints files in reverse
tail: outputs the last part of files
tr: translates or deletes characters
tsort: perform topological sort
unexpand: convert spaces to tabs
uniq: remove duplicate lines from a sorted file
wc: prints the number of bytes, words, and lines in files

[c & p'd from package description page]

Coming from the *Nix world, these are designed to work either on whole files,
or as filters connected via 'pipes'. Most Windows editors (particularly the
Notepad types) don't work and play well with outside tools, so you might want
to look at some of the more programming oriented editors in the [Text
Editors] thread if you want to be able to use these tools from within a
"normal" editing session.

Hope someone finds them helpful.


PS -- GnuWin32 also has many other very nice tools available. If you're
insterested in doing some advanced stuff with text files you can find Groff,
a2ps, enscript, gawk, sed, texinfo and others.
 
A

Alan

j.m. said:
A lot of the posts is the [Text Editors] thread seem to bemoan the
lack of serious plain text formatting features -- to that end I
thought it would be worth mentiong a very good Win32 port of the GNU
Text Utilities available from (oddly enought) GnuWin32:
http://gnuwin32.sourceforge.net/
Coming from the *Nix world, these are designed to work either on
whole files, or as filters connected via 'pipes'. Most Windows
editors (particularly the Notepad types) don't work and play well
with outside tools, so you might want to look at some of the more
programming oriented editors in the [Text Editors] thread if you want
to be able to use these tools from within a "normal" editing session.

Hope someone finds them helpful.


PS -- GnuWin32 also has many other very nice tools available. If
you're insterested in doing some advanced stuff with text files you
can find Groff, a2ps, enscript, gawk, sed, texinfo and others.

Excellent post j.m. There are lots of requests here for just such tools
and this appears to be a mighty fine selection. Simtel also has some
good specific tools like this, but (I find) they can be a bit difficult
to locate. I'm sure I've seen a dedicated site somewhere, with links and
descriptions of such tools... must have a hunt. Anyway, your post is
archived for future reference. :)

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top