From 9759c3045c90ad1ae57a0333b8b4c62c6a7d9af3 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Thu, 16 Jun 2016 15:04:12 +0100 Subject: [PATCH] foamMonitor: fixed bug in test syntax --- bin/foamMonitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/foamMonitor b/bin/foamMonitor index e38545f00..8ae19858b 100755 --- a/bin/foamMonitor +++ b/bin/foamMonitor @@ -155,7 +155,7 @@ for field in $KEYS do i=$(expr $i + 1) PLOTLINE="\"$FILE\" using 1:${i} with lines title \"$field\"" - if [[ $i -lt $NCOLS ]] + if [ $i -lt $NCOLS ] then PLOTLINE="$PLOTLINE, \\" fi