svn commit: r44931 - head/en_US.ISO8859-1/books/handbook/printing

Warren Block wblock at FreeBSD.org
Sat May 24 00:23:48 UTC 2014


Author: wblock
Date: Sat May 24 00:23:47 2014
New Revision: 44931
URL: http://svnweb.freebsd.org/changeset/doc/44931

Log:
  Simplify the lf2crlf filter.  Thanks to jilles at .

Modified:
  head/en_US.ISO8859-1/books/handbook/printing/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/printing/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/printing/chapter.xml	Sat May 24 00:17:03 2014	(r44930)
+++ head/en_US.ISO8859-1/books/handbook/printing/chapter.xml	Sat May 24 00:23:47 2014	(r44931)
@@ -680,7 +680,7 @@ Starting lpd.</screen>
 	  contents:</para>
 
 	<programlisting>#!/bin/sh
-CR=`/usr/bin/printf "\r"`
+CR=$'\r'
 /usr/bin/sed -e "s/$/${CR}/g"</programlisting>
 
 	<para>Set the permissions and make it executable:</para>


More information about the svn-doc-all mailing list