Fix wrong charakter classes no longer missinterpreted by grep-2.7 Michael Weber --- a/bin/jw.in +++ b/bin/jw.in @@ -80,9 +80,9 @@ SGML_CATALOGS_DIR="/etc/sgml" if [ -f "$SGML_CONF" ] then - RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*' + RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*' SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"` - RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*' + RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*' SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"` fi