Hi,

bit late in replying...but hope this might as well help.
We do it this way...

use the command from the top level to remove the ctrl char -
find . -name *.[c,h] -exec perl -pi -e 's/\cM//g' {} \;

Square Bracket contains [Type of files] so modify it as per your need.

regards
Arshad


On 12/12/05, Mayank Jain <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I used Anjuta on Ubuntu 5.10 to write my code, committed it to the CVS
> at Novell Forge. But when i try to download the code-tarball from the
> CVS, i'm getting strange ^M characters at the end of every line in all
> files.
>
> Though i can remove them by deleting them one-by-ne, but this is
> getting very annoying.
>
> What can be the possible reason for this & how can i stop this from
> happening & how to get back my code without ^M?
>
> --
> regards,
> makuchaku
> ---
> http://makuchaku.info
> When you speak out with the courage of your convictions, people listen!
> -- Valmik Thapar, Wildlife Conservationist.
>
> _______________________________________________
> ilugd mailinglist -- [email protected]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/[email protected]/
>
>

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to