home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
UT
/
UT218.ZIP
/
ULCASE10.ZIP
/
ULCASE.DOC
< prev
next >
Wrap
Text File
|
1991-03-17
|
9KB
|
191 lines
ULCase
Copyright 1991
Paul Robinson
Cushman Publishers
7720 Brandeis Way
Springfield, VA 22153
FAX (703) 455-2027
Version 1.0
ULCase is Shareware, not in the Public Domain. You are granted, at no
charge, the right to determine the suitability of this software for your
needs. If you do find ULCase suitable and make use of it, you are
expected to register with the author. Registration will remove the
shareware notice screen and the most recent version will be sent to you.
The registered version of ULCase gives the user the ability to edit and
use a dictionary of nouns that are exceptions to standard
capitalization. Names like MacDonald, LaCroix, and deGrazia as well
acronyms like AAA, TWA, UPS can be added to the dictionary.
DISCLAMER OF WARRANTY
DUE TO THE LARGE NUMBER OF HARDWARE AND SOFTWARE ENVIRONMENTS INTO WHICH
THIS PROGRAM MAY BE PLACED, NO WARRANTY OF FITNESS FOR A PARTICULAR
PURPOSE IS OFFERED. THOROUGHLY TEST THIS PROGRAM WITH NON-CRITICAL DATA
BEFORE RELYING ON IT. THE USER MUST ASSUME THE ENTIRE RISK OF USING
THIS PROGRAM. THE SELLER'S MAXIMUM LIABILITY WILL BE LIMITED TO REFUND
OF THE PURCHASE PRICE OR PROGRAM REPLACEMENT.
NOTICE:
ULCASE CANNOT BE BUNDLED WITH OTHER SOFTWARE, HARDWARE OR EQUIPMENT AS A
PACKAGE DEAL. SHAREWARE DEALERS MAY CHARGE A TOKEN FEE NOT TO EXCEED
$5.00 (US) FOR REPRODUCTION AND DISTRIBUTION EXPENSES.
To register ULCase 1.0 please complete this form and send it along with
a check payable in US funds on a US bank for $25.00 to:
Cushman Publishers
7720 Brandeis Way
Springfield, VA 22513
Name:___________________________________________________
Address:_________________________________________________
_________________________________________________
_________________________________________________
Orders outside the United States add (s&h) $ 5.00
Total enclosed: ___________________
Disk size ______ 5 1/4" ______ 3 1/2"
Where did you get this program? ___________________________________________
___________________________________________________________________________
ULCase is written in Turbo C. ULCase can accept ASCII input up to 1024
characters per line. Designed primarily as a tool to convert ASCII
mailing lists into proper case, ULCase has five separate functions.
NOTE: When converting a file, ULCase will create a new file
containing the converted information. ULCase will not write
over your original file. ULCase will not accept as the destination
file name, the source file name if they reside in the same sub-
directory. As the default destination file name, ULCase will
assign to the converted file the original file name with the
extension "cvt" unless you specifically rename the destination
file something else. ULCase will write the destination file to
the same sub-directory as the original file provided the names
are not the same. Because of space considerations, we recommend
that your original source file be on a hard drive and not a floppy.
ULCase will run either from a floppy or a hard drive. However,
the file NOUN.DIC MUST reside in the same sub-directory as the
executable file ULCASE10.EXE. Both files must be in the
"current" directory. Even though the Shareware version
of ULCase only uses one entry from the file NOUN.DIC, it is
essential that NOUN.DIC reside in the same sub-directory as
ULCASE10.EXE. If the file NOUN.DIC becomes corrupted in any
way, another file can be created with any text editor if saved
in the ASCII mode. Be sure that any replacement file is
properly named and in the correct sub-directory.
1. ULCase will read an ASCII file, converting first letter of
each sentence into a capital letter and the remaining ones into
lowercase letters. ULCase defines a sentence as any group of
letters or characters that end with either a period space [. ],
a question mark space [? ] or an exclamation mark space [! ].
2. ULCase has a search and replace function. NOTE: ULCase does
NOT have a text editor, but the search and replace function was
included for those times when a fast means of replacing a
character string is needed. Since ULCase operates in a text
mode, ULCase will not search for, nor replace with, any control
codes (i.e. including hard or soft carriage returns). We have
not tried all combinations of ASCII codes below ASCII 32
or above ASCII 127. The search for and replacement with any ASCII
codes below ASCII 32 is not recommended.
3. ULCase will convert an ASCII mailing list into initial caps
and lower case for each group of letters found. Hyphenated
names like Smith-Jones will convert properly, as will multiple
initials such as L.L. Bean. Names that start with "Mc" will
have the third letter capitalized (McNeil, for example). Names
with an apostrophe will have the letter following the apostrophe
capitalized (O'Neil), possessive cases like Men's and
contractions that end with " 't " are excluded.
All fifty states, the District of Columbia, Puerto Rico, the
Virgin Islands, and Guam will be converted to their two letter
uppercase abbreviation if the two letter abbreviation is used.
The acronym USA will remain capitalized. The 10 Canadian provences,
Northwest Territiries and Yukon Territory will also convert as
will Canadian Zip codes.
Please note that there is no spelling checker. The
names must be properly spelled, regardless of case.
The REGISTERED version of ULCase has a noun dictionary that can
be edited to include the user's requirements for names like
"MacDonald". There are too many variations of "Mac" to
automatically convert the letter following "Mac" to upper case.
To allow the UNREGISTERED user to experience this dictionary
usage, one name only from the dictionary will be checked against
the ASCII file being converted. Since this file can be edited,
we suggest that the UNREGISTERED user place their favorite name
exception as the only name in the NOUN.DCT file and give it a try.
REMEMBER: ULCase defines a name as any collection of
letters and numbers followed by a space. While ULCase
will ignore [.',"/-\*%s<SPACE>] as delimiters, if your
mailing list has other delimiters immediately
preceeding a name, that name will not be capitalized.
Canadian zip codes will convert properly.
For example, if your list included a name that read as
[^JOHN JONES] ULCase would return [^john Jones] to the
destination file.
4. ULCase will read an ASCII file and convert the entire
destination file to lower case letters.
5. ULCase will read an ASCII file and convert the entire
destination file to upper case letters.
ULCase is menu driven and easy to use. If a file cannot be opened for
any reason, you will get an error message and be returned to the main
menu. Once loaded, ULCase requires approximately 34,000 bytes of free
RAM to operate, so it should run on most machines.
For those who want to enter ULCase from the command line, there are two
usages:
ulcase [path:source filename] [path:destination file name]
This will allow the user to specify a destination path and
destination filename separate from the default. Verification
of the destination filename you specified will still be requested.
ulcase [path:source filename]
This will allow the user to quickly start from the DOS prompt.
Verification of the default destination file name will still be
requested.
The letter combinations "AL", "DE", "LA", and "MS" have more than one usage.
ULCase will convert those letter combinations in the following order of
precedence.
1. Whatever is contained in the NOUN.DCT file. (i.e. "de" if so
included.)
2. As "AL", "DE", "LA" and "MS" if a number following the letter
combination is not more than two (2) spaces from the last letter.
(i.e. "al 31245" would be "AL 31245", "ms 53214" would be
"MS 53214" but "ms 43215" would be "Ms 43215", provided
there was no definition in the file "NOUN.DCT".)
3. As "Al", "De", "La", and "Ms" by default.