STYLE: remove unnecessary stdout, stderr /dev/null redirects

- no stderr redirect needed:
    * 'command -v'

- no stdout/stderr redirect needed:
    * 'rm -f'

STYLE: consistent spacing after redirects
This commit is contained in:
Mark Olesen
2019-11-06 10:44:36 +01:00
committed by Andrew Heather
parent ec7e3c88e4
commit e6dfb39c66
131 changed files with 281 additions and 282 deletions

View File

@ -6,8 +6,8 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase0
# Remove surface and features
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/motorBike.obj.gz
rm -f constant/triSurface/motorBike.eMesh
rm -rf constant/extendedFeatureEdgeMesh
#------------------------------------------------------------------------------

View File

@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase0
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/*.eMesh > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh
rm -f constant/triSurface/*.eMesh
rm -rf VTK
rm -rf constant/bottomAir/polyMesh

View File

@ -3,7 +3,7 @@ cd ${0%/*} || exit 1 # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
\rm -f constant/triSurface/blob.obj
rm -f constant/triSurface/blob.obj
cleanCase0