From 020b125dd85046fde0fe19481a3f4c67ccd5e813 Mon Sep 17 00:00:00 2001 From: Alexander Matthes Date: Fri, 20 Jan 2017 13:39:25 +0100 Subject: [PATCH] Fixing issue https://github.com/ComputationalRadiationPhysics/picongpu/issues/1775 about interpreting `\n` after `\r` as whitespace instead of being part of the newline. --- src/tools/bin/tbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/bin/tbg b/src/tools/bin/tbg index f973c66ab2..a3a7861142 100755 --- a/src/tools/bin/tbg +++ b/src/tools/bin/tbg @@ -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:"