diff --git a/bin/foamSearch b/bin/foamSearch index cd186e6962..e51bed2aa2 100755 --- a/bin/foamSearch +++ b/bin/foamSearch @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | Website: https://openfoam.org -# \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2016-2024 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -81,7 +81,7 @@ files=$(find "$1" -name "$2") for f in $files do - foamDictionary -entry "$3" "$f" 2>/dev/null + foamDictionary -case / -entry "$3" "$f" 2>/dev/null done | \ sort | uniq $count | sed '/^[\t 1-9]*$/d' || \ echo "No keyword $3 found in $2 files"