mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user