Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2010 06:55:04 +0000 (UTC)
From:      Gordon Tetlow <gordon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213349 - head/usr.bin/man
Message-ID:  <201010020655.o926t41J030487@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010020655.o926t41J030487>