Ticket #36354: docbook-utils-grepnocolors.patch

File docbook-utils-grepnocolors.patch, 700 bytes (added by lockhart (Thomas Lockhart), 12 years ago)

Patchfile from Fedora 18 RPM.

  • docbook-utils-0.6.

    diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
    old new SGML_CATALOGS_DIR="/etc/sgml" 
    8181if [ -f "$SGML_CONF" ]
    8282then
    8383  RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
    84   SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
     84  SGML_BASE_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
    8585  RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
    86   SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
     86  SGML_CATALOGS_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
    8787fi
    8888
    8989# Set frontend to use