etc

small bits of code not worth their own repo
git clone git://git.benoneill.xyz/etc
Log | Files | Refs | README | LICENSE

commit 8aa5aae61a4ae46c04eb2bf1e74761a32d39f8ce
parent 855e2c2bc585808acaef44ea1c22f5fd098a47a0
Author: Ben O'Neill <ben@benoneill.xyz>
Date:   Tue, 28 Sep 2021 13:53:03 -0400

formatting

Diffstat:
Mfortune.c | 3++-
Mtypetest.c | 6+++---
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/fortune.c b/fortune.c @@ -1,4 +1,5 @@ -/* simple fortune(1) implementation with added option to choose a +/* + * simple fortune(1) implementation with added option to choose a * field separator. * Author: Ben O'Neill <ben@benoneill.xyz> * License: MIT diff --git a/typetest.c b/typetest.c @@ -1,6 +1,6 @@ /* - * typetest.c: a simple typing speed test. not very precise. prints a - * given file line by line and has user reproduce each one. records + * typetest.c: A simple typing speed test. Not very precise. Prints a + * given file line by line and has user reproduce each one. It records * WPM, CPM, number of mistakes, and total time. * usage: typetest file * author: Ben O'Neill <ben@benoneill.xyz> @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) } /* - * replicate the given file line by line, no time limit. + * replicate the given file line by line, with no time limit. * content: string to replicate * returns: number of mistakes, average, and total times as result_t */