Another nice cleanup from Larry.  This adds a new last_char_is() function and
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the
possible space-hogging inline of strlen() in several cases.
 -Erik
diff --git a/cut.c b/cut.c
index 7e9a72e..d852ab3 100644
--- a/cut.c
+++ b/cut.c
@@ -75,7 +75,7 @@
 	/* handle multi-value cases */
 	else if (nminus == 1) {
 		/* handle 'N-' case */
-		if (list[strlen(list) - 1] == '-') {
+		if (last_char_is(list,'-')) {
 			startpos = strtol(list, &ptr, 10);
 		}
 		/* handle '-M' case */