The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How can i find all the files contains ^M ?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
How can i find all the files contains ^M ?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
02-22-2007
aigles
Registered User
Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,212
You can get the list of files containing ^M with the command (^M = ctrl/V+ctrl/M) :
Code:
grep -l "^M" *
Jean-Pierre.
aigles
View Public Profile
Find all posts by aigles