Hi ya

Have you tried dos2unix or crlf from www.freshmeat.net?

Ed

----- Original Message -----
From: "Lars Roland Kristiansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2001 7:12 AM
Subject: Re: [expert] Replace ^M with nothing


> ok that do work (thanks) only problem is that i got 200 files with this
> problem en several directories is there a command that i can do (maby
> togheter with find -exec)
>
> theanks
>
>
> On Fri, 23 Nov 2001, David G. Alc�ntara wrote:
>
> > Try the following:
> >
> > Edit your file with vi.
> > Go to the last line with the command G and write:
> >
> > :1,. s/^M/ /
> >
> > This line should work correctly. Finally save the changes and quit with
the
> > command :wq
> >
> > Warning!!, to type ^M you must use the following keyboard sequence:
crtl+v
> > crtl+m in order to get ^M.
> >
> > David
> >
> > - - -
> > ----- Original Message -----
> > From: "Lars Roland Kristiansen" <[EMAIL PROTECTED]>
> > To: "Mandrake-expert" <[EMAIL PROTECTED]>
> > Sent: Friday, November 23, 2001 1:23 PM
> > Subject: [expert] Replace ^M with nothing
> >
> >
> > I have some work done i java for some reason all my lines are now ending
> > with ^M. how can i make this go away.
> >
> > ********* this ***********
> > function validering(){^M
> >          if (!travellerSelected) {^M
> >          stringValid('dest.0','Afhentningssted');^M
> >          stringValid('do_cty.0','Afleveringssted');^M
> >          validate();^M
> >
> > ******** should be this *******
> > function validering(){
> >          if (!travellerSelected) {
> >          stringValid('dest.0','Afhentningssted');
> >          stringValid('do_cty.0','Afleveringssted');
> >          validate();
> >
> > please help
> >
> > ___
> > Mvh./Yours sincerely
> >
> > Lars
> >
> > ========================================================================
> > Lars Roland Kristiansen             | Email:        [EMAIL PROTECTED]
> > Stu. Sci. Math/Computer science     | TLF(home):    39699914 - 116
> > Copenhagen University -             | Home address: Bispebjerg parkalle
> > Institute for Mathematical Sciences | 22 - 2400 k�benhavn NV - room 116.
> > Url: www.math.ku.dk                 |
> > ========================================================================
> >
> >    "Politics is for the moment, equations are forever"
> >                                                     - Albert Einstein
> >
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
--
> > ----
> >
> >
> > > Want to buy your Pack or Services from MandrakeSoft?
> > > Go to http://www.mandrakestore.com
> > >
> >
> >
> >
>
> ___
> Mvh./Yours sincerely
>
> Lars
>
> ========================================================================
> Lars Roland Kristiansen             | Email:        [EMAIL PROTECTED]
> Stu. Sci. Math/Computer science     | TLF(home):    39699914 - 116
> Copenhagen University -             | Home address: Bispebjerg parkalle
> Institute for Mathematical Sciences | 22 - 2400 k�benhavn NV - room 116.
> Url: www.math.ku.dk                 |
> ========================================================================
>
>    "Politics is for the moment, equations are forever"
>                                                     - Albert Einstein
>
>
>
>


----------------------------------------------------------------------------
----


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to