tutorials: Remove the unnecessary "\"s on "cp", "rm" and "mv"

Resolves bug-report http://bugs.openfoam.org/view.php?id=2077
This commit is contained in:
Henry Weller
2016-05-05 15:17:55 +01:00
parent d0e612b285
commit a89cd81aff
37 changed files with 84 additions and 84 deletions

View File

@ -5,10 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface
\rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
cleanCase
\rm -rf 0 > /dev/null 2>&1
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
rm -rf 0 > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1

View File

@ -19,7 +19,7 @@ runApplication snappyHexMesh -overwrite
runApplication renumberMesh -overwrite
# force removal of fields generated by snappy
\rm -rf 0
rm -rf 0
# - generate face/cell sets and zones
runApplication topoSet -dict system/createInletOutletSets.topoSetDict

View File

@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface
\rm -f constant/triSurface/motorBike.obj.gz
rm -f constant/triSurface/motorBike.obj.gz
rm -rf 0 > /dev/null 2>&1

View File

@ -21,10 +21,10 @@ runApplication checkMesh -allTopology -allGeometry -latestTime
latestTime=`foamInfoExec -latestTime`
# Move the mesh into polyMesh
\rm -rf constant/polyMesh
\mv "${latestTime}"/polyMesh constant
rm -rf constant/polyMesh
mv "${latestTime}"/polyMesh constant
# Clean up intermediate meshes
\rm -r [1-9]*
rm -r [1-9]*
#------------------------------------------------------------------------------

View File

@ -4,9 +4,9 @@
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface and features
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
rm -rf 0 > /dev/null 2>&1

View File

@ -4,10 +4,10 @@
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface and features
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
\rm -f constant/triSurface/rotatingZone.eMesh > /dev/null 2>&1
\rm -f constant/triSurface/fixed.eMesh > /dev/null 2>&1
\rm -f 0/pointLevel > /dev/null 2>&1
\rm -f 0/cellLevel > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/rotatingZone.eMesh > /dev/null 2>&1
rm -f constant/triSurface/fixed.eMesh > /dev/null 2>&1
rm -f 0/pointLevel > /dev/null 2>&1
rm -f 0/cellLevel > /dev/null 2>&1
cleanCase