Skip to content

Commit

Permalink
Fixing issue #1775 about interpreting \n after \r as whitespace i…
Browse files Browse the repository at this point in the history
…nstead of being part of the newline.
  • Loading branch information
theZiz committed Jan 20, 2017
1 parent ef69637 commit 020b125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/bin/tbg
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ if [ ! -f "$cfg_file" ] ; then
fi

# cfg file sanity check - space after \ at EOL ?
cfg_err=`egrep "\\\\\[[:space:]]+$" $cfg_file | wc -l`
cfg_err=`egrep "\\\\\[[:blank:]]+$" $cfg_file | wc -l`
if [ $cfg_err != 0 ] ; then
echo "ERROR: file \"$cfg_file\" contains spaces after line continuation \\"
echo "Check the following lines for end-of-line spaces:"
Expand Down

0 comments on commit 020b125

Please sign in to comment.