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

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

View File

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