From ce11c8288d6f7b4ae204d61b28c3324831403c6a Mon Sep 17 00:00:00 2001 From: Chris Greenshields <http://cfd.direct> 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 e38545f00d4..8ae19858b0f 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 -- GitLab