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,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase
# rm -f constant/triSurface/cyclone.stl.gz > /dev/null 2>&1
# rm -f constant/triSurface/cyclone.stl*
#------------------------------------------------------------------------------

View File

@ -10,7 +10,7 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication decomposePar
runParallel $(getApplication)
runApplication reconstructPar -latestTime
rm log.reconstructPar
rm -f log.reconstructPar
runApplication reconstructPar -lagrangianFields \
'(collisionRecordsPairAccessed collisionRecordsPairData \
collisionRecordsPairOrigIdOfOther \

View File

@ -25,7 +25,7 @@ nz=2
tmpSetSet='patchify.setSet'
rm -f patchify.setSet >/dev/null 2>&1
rm -f patchify.setSet
initialiseFaceSet()

View File

@ -11,7 +11,7 @@ restore0Dir
# initialise with potentialFoam solution
runApplication potentialFoam
\rm -f 0/phi
rm -f 0/phi
# run the solver
runApplication $(getApplication)

View File

@ -11,7 +11,7 @@ restore0Dir
# initialise with potentialFoam solution
runApplication potentialFoam
\rm -f 0/phi
rm -f 0/phi
# run the solver
runApplication $(getApplication)

View File

@ -10,7 +10,7 @@ runApplication blockMesh
runApplication potentialFoam
# Remove incompatible (volumetric) flux field
\rm -f 0/phi 2>/dev/null
rm -f 0/phi
runApplication $(getApplication)

View File

@ -10,7 +10,7 @@ runApplication blockMesh
runApplication potentialFoam
# Remove incompatible (volumetric) flux field
\rm -f 0/phi 2>/dev/null
rm -f 0/phi
runApplication decomposePar