<p>Is there a csh script/command to list all the files in source source tree which have line endings that show up as "^M" in emacs (under linux).</p>

<p>Thanks!</p>

```
```
find . -type f -exec grep $'\r' {} +
```
```
The
```
$'\r'
```
probably requires bash to function correctly.