Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ap/titlecase
John Gruber’s Title Case
https://github.com/ap/titlecase
perl titlecase
Last synced: 7 days ago
JSON representation
John Gruber’s Title Case
- Host: GitHub
- URL: https://github.com/ap/titlecase
- Owner: ap
- License: other
- Created: 2008-07-28T04:38:55.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T00:50:37.000Z (4 months ago)
- Last Synced: 2025-01-17T11:10:12.540Z (14 days ago)
- Topics: perl, titlecase
- Language: Perl
- Homepage: http://plasmasturm.org/code/titlecase/
- Size: 56.6 KB
- Stars: 70
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a refactoring of [John Gruber’s Title Case program](http://daringfireball.net/2008/05/title_case), which also includes a universal test suite containing all the test cases listed by John.
The test suite is provided in the form of a Perl script called `test.pl` which expects to be passed a command line for invoking a program that performs titlecasing. E.g. to test the provided `titlecase` itself:
````
perl test.pl ./titlecase
````The program under test should work like John’s: it should read any number of titles from standard input, one title per line, and write the case-corrected titles to standard output in the same form.