- tofrodos, daß evtl. unter Debian als dos2unix benutzt wird, hat keine Option '-q', es sollte also wirklich nur dos2unix benutzt werden dürfen.
- die find-Option '-exec' muß mit einem ';' enden, daß maskiert werden muß, damit es keine Verknüpfung zweier Zeilen wird
- das '+' verstehe ich nicht
Ich habe die Zeilen folgendermaßen geändert:
- Code: Select all
#find ../exclude/ -type f -exec dos2unix -q "{}" + || echo find has a problem with exlude
find ../exclude/ -type f -exec dos2unix -q {} \; || echo find has a problem with exlude
#find ../xslt/ -type f -exec dos2unix -q "{}" + || echo find has a problem with xslt
find ../xslt/ -type f -exec dos2unix -q {} \; || echo find has a problem with xslt
#find ../static/ -type f -exec dos2unix -q "{}" + || echo find has a problem with static
find ../static/ -type f -exec dos2unix -q {} \; || echo find has a problem with static
und es gab keine Fehler.
MfG
Spider-Mann