svn commit: r213349 - head/usr.bin/man

Gordon Tetlow gordon at FreeBSD.org
Sat Oct 2 06:55:13 UTC 2010


Author: gordon
Date: Sat Oct  2 06:55:04 2010
New Revision: 213349
URL: http://svn.freebsd.org/changeset/base/213349

Log:
  Fix up whatis/apropos issue displaying all output on a single due to
  forgotten quotes.
  
  Submitted by:	Brandon Gooch
  Approved by:	wes (mentor, implicit)

Modified:
  head/usr.bin/man/man.sh

Modified: head/usr.bin/man/man.sh
==============================================================================
--- head/usr.bin/man/man.sh	Sat Oct  2 06:54:59 2010	(r213348)
+++ head/usr.bin/man/man.sh	Sat Oct  2 06:55:04 2010	(r213349)
@@ -719,11 +719,11 @@ search_whatis() {
 	bad=${bad#\\n}
 
 	if [ -n "$good" ]; then
-		echo -e $good | $PAGER
+		echo -e "$good" | $PAGER
 	fi
 
 	if [ -n "$bad" ]; then
-		echo -e $bad >&2
+		echo -e "$bad" >&2
 	fi
 
 	exit $rval


More information about the svn-src-all mailing list