From e01af8264ccd05f95d5ba66dc1636504757bee7d Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Mon, 31 Mar 2014 09:27:42 +0100 Subject: [PATCH] ENH: foamLog: handle variables with '.' in name --- bin/foamLog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/foamLog b/bin/foamLog index 4f1aac6b862..5caf052679e 100755 --- a/bin/foamLog +++ b/bin/foamLog @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -169,7 +169,7 @@ myEcho() # Prints names of all 'solved for' variables in the log file. getSolvedVars() { - fgrep ' Solving for ' $1 | fgrep ',' | sed -e 's/.* Solving for \([^,]*\)[,:].*/\1/' | sort -u + fgrep ' Solving for ' $1 | fgrep ',' | sed -e 's/.* Solving for \([^,]*\)[,:].*/\1/' | sed -e 's/\./_/g' | sort -u } -- GitLab