Re:WordPerfect for Unix Character Terminals
by tambourine_man on Wednesday April 12, 2023 @07:48AM
(#35538162)
Yeah, I love vim, but that’s not its forte
Re:WordPerfect for Unix Character Terminals
by boffinAudio on Wednesday April 12, 2023 @09:05AM
(#35539008)
: help case
To turn one line into title caps, make every first letter of a word
uppercase: :s/\v<(.)(\w*)/\u\1\L\2/g
Re:WordPerfect for Unix Character Terminals
by vulcan01 on Wednesday April 12, 2023 @09:25AM
(#35539264)
That's not title case - you don't capitalize words such as a, the, of, etc. unless they are at the beginning of the title.
Re:WordPerfect for Unix Character Terminals
by tablespoon on Wednesday April 12, 2023 @10:20AM
(#35540126)
> That's not title case - you don't capitalize words such as a, the, of, etc. unless they are at the beginning of the title.
Exactly. Capitalizing every letter is the lazy, half-ass pseudo title case that I always have to correct. Unfortunately its becoming normalized because many major companies that should know better don't even bother to do it right.
The GP was talking about a particular type of formatting:
* https://en.wikipedia.org/wiki/Title_case