Thread: pgindet ^M

pgindet ^M

From
Tzahi Fadida
Date:
I am trying to use pgindent but it adds ^M in my files.
However, it doesn't add it to postgresql src files (i tried).
I guess it is maybe something with encoding?
What can i do?
10x.

--
Regards,
        Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at
http://members.lycos.co.uk/my2nis/spamwarning.html


Re: pgindet ^M

From
Andrew Dunstan
Date:
Tzahi Fadida wrote:
> I am trying to use pgindent but it adds ^M in my files.
> However, it doesn't add it to postgresql src files (i tried).
> I guess it is maybe something with encoding?
> What can i do?
> 10x.
>
>   

On what platform and on what files?

cheers

andrew


Re: pgindet ^M

From
"Joshua D. Drake"
Date:
Andrew Dunstan wrote:
> Tzahi Fadida wrote:
>> I am trying to use pgindent but it adds ^M in my files.
>> However, it doesn't add it to postgresql src files (i tried).
>> I guess it is maybe something with encoding?
>> What can i do?
>> 10x.
>>
>>   
> 
> On what platform and on what files?
> 

Sounds like windows :)

Joshua D. Drake

> cheers
> 
> andrew
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>               http://www.postgresql.org/docs/faq
> 


-- 
   === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240   Providing the most comprehensive  PostgreSQL
solutionssince 1997             http://www.commandprompt.com/
 




Re: pgindet ^M

From
Tzahi Fadida
Date:
These are .c and .h files on linux.
Also i am using the patched indent and compiled the entab, etc...
From 8.2

On Saturday 29 July 2006 17:57, Andrew Dunstan wrote:
> Tzahi Fadida wrote:
> > I am trying to use pgindent but it adds ^M in my files.
> > However, it doesn't add it to postgresql src files (i tried).
> > I guess it is maybe something with encoding?
> > What can i do?
> > 10x.
>
> On what platform and on what files?
>
> cheers
>
> andrew

--
Regards,
        Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at
http://members.lycos.co.uk/my2nis/spamwarning.html