pgindet ^M

Started by Tzahi Fadidaover 19 years ago4 messages
#1Tzahi Fadida
Tzahi.ML@gmail.com

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

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Tzahi Fadida (#1)
Re: pgindet ^M

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

#3Joshua D. Drake
jd@commandprompt.com
In reply to: Andrew Dunstan (#2)
Re: pgindet ^M

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 solutions since 1997
http://www.commandprompt.com/

#4Tzahi Fadida
Tzahi.ML@gmail.com
In reply to: Andrew Dunstan (#2)
Re: pgindet ^M

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