I am reading a shell script( /opt/openfoam8/bin/foamCleanPath) from OpenFoam. In this script, there is a code segment:
/opt/openfoam8/bin/foamCleanPath
for dir do .... done