patch-2.1.96 linux/scripts/Configure
Next file: linux/scripts/Menuconfig
Previous file: linux/net/x25/x25_in.c
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Fri Apr 10 15:18:55 1998
-  Orig file: 
v2.1.95/linux/scripts/Configure
-  Orig date: 
Wed Apr  1 20:11:55 1998
diff -u --recursive --new-file v2.1.95/linux/scripts/Configure linux/scripts/Configure
@@ -53,6 +53,10 @@
 #
 # 090398 Axel Boldt (boldt@math.ucsb.edu) - allow for empty lines in help
 # texts.
+#
+# 100498 Riley Williams (rhw@bigfoot.com) - added ability to display
+# blank lines in help texts: Any line consisting only of a single dot
+# will be displayed blank.
 
 #
 # Make sure we're really running bash.
@@ -103,7 +107,7 @@
      then
 	  echo; echo "  Sorry, no help available for this option yet.";echo
      else
-	  (echo; echo "$text") | ${PAGER:-more}
+	  (echo; echo "$text") | sed 's/^\.$//' | ${PAGER:-more}
      fi
   else
      echo;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov