home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
words.zip
/
words.doc
< prev
next >
Wrap
Text File
|
1994-06-24
|
2KB
|
49 lines
WORDS (c) 1994, Matt McLeod
WORDS is a very simple word-counting program. I wrote it partly because I'm
trying to teach myself C, and partly because it's the only thing I really
desperately needed that I couldn't find.
WORDS understands wildcards, and you can put as many filenames on the
command-line as you like. The word-count for each file is displayed, along
with a total word-count for all files processed.
WORDS was compiled using EMX 0.8h. You'll need the EMX DLLs in order to run
it. I haven't included them here, as they are readily available pretty much
everywhere.
WORDS should be very portable. It's based on a simple C program I put
together under Linux (using GCC, of course). There's nothing fancy in it,
so it should compile with pretty much any C compiler.
The WORDS source is contained in three files. I did it this way, rather
than the more obvious putting it into one file as a bit of an experiment -
this is my first useful C program, so I wanted to try out as many things as
possible... :-)
I hope to put together a PM version of WORDS at some stage in the future.
That, of course, will require me to learn enough about PM programming to do
a basic dialogue box and message-boxes, but I expect I'll muddle through
somehow... :-)
I retain the copyright to WORDS. It is not in the public domain. It is
released under the GNU General Protection License. In essence, this means
that you're free to use WORDS as you like. You can modify the source, and
even include it in another program, so long as attribution to myself
remains, and access to the source is not restricted. A full copy of the GPL
is also freely available.
There is one addition to the GPL. Anyone who wishes to make use of WORDS
should send me a postcard. Postcards are very cheap, so this should not
create a huge budgetary problem... :-)
My addresses are:
Snail: 16 Prudence Close
Whitebridge, NSW, 2290
Australia
Internet: matt@toaster.hna.com.au
CompuServe: 100237,213