From 63b0469a7b4f58119e367db7a1c784923a40966c Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 24 Jul 2018 11:54:17 +0100 Subject: [PATCH] tutorials::coolingSphere/Allclean: avoid extended regular expressions in grep Solves grep problem on Slackware 14.2 Patch contributed by Lorenzo Trevisan Resolves patch request https://bugs.openfoam.org/view.php?id=3012 --- .../heatTransfer/chtMultiRegionFoam/coolingSphere/Allclean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allclean b/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allclean index 2e0aebff6..6966e9f41 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allclean +++ b/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/Allclean @@ -6,7 +6,7 @@ cd "${0%/*}" || exit 1 # Run from this directory removeRegionDirs () { # HACK to get regionDirs from materialProperties - _regionDirs="$(grep -E "^[a-Z]" constant/materialProperties | tail -n +2)" + _regionDirs="$(grep "^[a-zA-Z]" constant/materialProperties | tail -n +2)" for _d in system constant do