"Find ... -exec ..." script never ends.# Unix - 噫吁兮,危乎高哉
i*p
1 楼
find . -name "*.h" -exec dos2unix -437 {} {} \; -print
If there are more than one .h files, it keeps running for ever. Like this:
a.h
b.h
a.h
b.h
a.h
...
It is fine if there is only one file. What is wrong? How to fix it?
If there are more than one .h files, it keeps running for ever. Like this:
a.h
b.h
a.h
b.h
a.h
...
It is fine if there is only one file. What is wrong? How to fix it?