Commit Diff


commit - e9b9f39efa64d4ed9596efe36a3be7fe37e6fc78
commit + 1ac9fd6066e16404a374134a96f275c5013d10b7
blob - 2263c1ca1f34bcd3badbd4025fc869bb97c6e236
blob + 3fade9045b5523171cd6092c53660582493d61bf
--- bin/sshot.lp
+++ bin/sshot.lp
@@ -5,6 +5,11 @@ sshot is a simple script to make a screenshot!
 	#!/bin/sh
 	
 	select=
+
+Did you know that getopts is a built-in?  The first version of this
+script used getopt, but it was ugly and required some shell features
+which I'm not sure are POSIX.  getopts is easier to handle:
+
 	while getopts s name; do
 		case $name in
 		s)	select=1 ;;