The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Randomly appearing control characters in text files aakashahuja AIX 0 07-18-2006 05:26 AM
Best way to search files for non-printable characters? jvander Shell Programming and Scripting 2 03-31-2005 12:53 AM
how to replace control characters using sed? hillxy Shell Programming and Scripting 5 10-16-2003 10:12 AM
Remove control characters aravind_mg UNIX for Dummies Questions & Answers 5 10-02-2002 01:07 PM
getting rid of control characters apalex UNIX for Dummies Questions & Answers 2 07-12-2001 02:12 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-06-2006
Mohammed Mohammed is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 12
Search For Control M characters in files

Hi ,

I have special character control M in many of my files as below

ersNet-Telnet-3.03/Makefile.PL100644 21166 144 612 7113770214 135
77 0ustar jayusers## -*- Perl -*-^M
^M
use ExtUtils::MakeMaker qw(WriteMakefile);^M
^M
WriteMakefile(NAME => "Net::Telnet",^M
DISTNAME => "Net-Telnet",^M
VERSION_FROM => "lib/Net/Telnet.pm",^M
dist => { COMPRESS => "gzip", SUFFIX => "gz" },^M
($] >= 5.005 ?^M
(ABSTRACT => "Interact with TELNET port



Is there any script/command to find which all files have these control M characters. I tried doing a grep for ^M in my entire directories and sub-directories but it lists files which do not have ^M characters also.

Thanks in Advance
Mohammed
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0