The .cap sentences command capitalizes the first letter of each sentence or attribute.
Syntax
.cap sentences |
Synonym(s)
.cs |
Description
The beginning of a sentence is considered to be the first letter of each attribute. The first letter after a period, question mark, or exclamation point is also considered the beginning of a sentence, and is therefore capitalized. If the first word of a sentence is already capitalized, it remains capitalized.
Sentences are capitalized until an .xcap sentences command is encountered.
Example(s)
.cap sentences this is the first sentence. this is the second. and, this is the third. |
Produces this output:
This is the first sentence. This is the second. And, this is the third. |
See Also