> > > > What can be the possible reason for this & how can > > i stop this from > > > happening & how to get back my code without ^M? > > In vim do > > :%s/^M//g > > ^M is not literal, use CTRL-g CTRL-m to get ^M. > > regards, > Nishant >
Hi, Use the "dos2unix" utility. (Unix Text File Format Converter). '^M's can be usually seen when you created a file on Ms Windows but read it on Linux (vi editor etc). ~ Jagmeet ~ _______________________________________________ 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]/
