+++ Soo-Hyun Choi [freebsd] [28-08-04 00:52 +0100]:
| Hi,
|
| I edit C++ codes with a certain text editor under Windows XP, and then
| I open the C++ codes using vi editor under FreeBSD. Then, there are
| bunch of "^M" sign at the end of each line. Does anyone know why this
| is happening? And, do
On Sat, Aug 28, 2004 at 09:20:54AM +0530, Subhro wrote:
> I have come across a script (Perl) called dos2unix. You can check that
> out too. Google for the link.
>
> Regards
> S.
It's in the Ports tree: textproc/unix2dos.
Simply do: "dos2unix " if you want to edit the file under
FreeBSD (UNIX),
Consider using a different editor in windows like UltraEdit. It can
save in "unix" format and supports syntax hi-lighting. Better yet,
remove windows from the equation. :)
There are a lot of nice text editors for UNIX like OSes including
xemacs, gedit (gnome), kate (kde), etc.
I do understa
I have come across a script (Perl) called dos2unix. You can check that
out too. Google for the link.
Regards
S.
On Sat, 28 Aug 2004 05:46:04 +0200, Radek Kozlowski <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 27, 2004 at 10:52:04PM -0400, Mike Jeays wrote:
> > If you are using plain vi, you can get r
On Fri, Aug 27, 2004 at 10:52:04PM -0400, Mike Jeays wrote:
> If you are using plain vi, you can get rid of the unwanted characters
> with the command
> :1,$s/ctrl-v-m//g where "ctrl-v-m' means hold down the Ctrl key while
> you press v followed by m. You will see them magically disappear.
Anothe
On Fri, 2004-08-27 at 20:46, Parv wrote:
> in message <[EMAIL PROTECTED]>, wrote
> Soo-Hyun Choi thusly...
> >
> > I edit ... certain text editor under Windows XP, and then I open
> > ... using vi editor under FreeBSD. Then, there are bunch of "^M"
> > sign at the end of each line. Does anyone know
in message <[EMAIL PROTECTED]>, wrote
Soo-Hyun Choi thusly...
>
> I edit ... certain text editor under Windows XP, and then I open
> ... using vi editor under FreeBSD. Then, there are bunch of "^M"
> sign at the end of each line. Does anyone know why this is
> happening?
Cause is the default line
Soo-Hyun Choi wrote:
Hi,
I edit C++ codes with a certain text editor under Windows XP, and then
I open the C++ codes using vi editor under FreeBSD. Then, there are
bunch of "^M" sign at the end of each line. Does anyone know why this
is happening?
Microsoft has chosen (for a long time now) to i
Hi,
I edit C++ codes with a certain text editor under Windows XP, and then
I open the C++ codes using vi editor under FreeBSD. Then, there are
bunch of "^M" sign at the end of each line. Does anyone know why this
is happening? And, does anyone can tell me how to avoid this kind of
things?
Cheers,