unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Mysterious hidden end of line characters.
@ 2008-01-26 17:14 David
  2008-01-26 19:21 ` Thierry Volpiatto
  2008-01-26 20:41 ` Mysterious hidden end of line characters Peter Dyballa
  0 siblings, 2 replies; 32+ messages in thread
From: David @ 2008-01-26 17:14 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Patrick Giraudoux

I have a strange problem with invisible end of line characters.

Yesterday I was trying to configure GRASS6.3 using the following
single line of code.


CFLAGS=-O2 ./configure \
	 --with-gdal=/usr/bin/gdal-config \
	 --with-tcltk \
	 --with-tcltk-includes=/usr/include/tcl8.4 \
	 --x-includes=/usr/include/X11 \
	--with-postgres-includes=/usr/include/postgresql \
	--with-freetype-includes=/usr/include/freetype2 \
	--x-includes=/usr/include/X11 \
	--x-libraries=/usr/lib/X11 \
	--with-libs=/usr/lib64 \
	--with-blas \
	--with-mysql \
	--with-mysql-includes=/usr/include/mysql \
	--with-cxx \
	--with-freetype \
	--with-freetype-includes=/usr/include/freetype2 \
	--with-readline \
	--with-sqlite \
	--with-tiff \
	--with-x \
	 --with-odbc \
	--enable-64bit \
	2>&1 | tee config_log.txt


Normally the \ character tells the shell not to execute the line but
to wait for the next line and execture them as one, so everything
above is seen by the computer as a single line. Right?

Well, not on my computer.  Each time I copied the lines from emacs to
a terminal (konsole) for some reason the \ was being over riden and
the terminal tried executing the code one line at a time. My effort to
configure GRASS failled until I removed every \ and collapsed
everything down to the following single line.

CFLAGS=-O2 ./configure --with-gdal=/usr/bin/gdal-config --with-tcltk --with-tcltk-includes=/usr/include/tcl8.4 --x-includes=/usr/include/X11 --with-postgres-includes=/usr/include/postgresql --with-freetype-includes=/usr/include/freetype2 --x-includes=/usr/include/X11 --x-libraries=/usr/lib/X11 --with-libs=/usr/lib64 --with-blas --with-mysql --with-mysql-includes=/usr/include/mysql --with-cxx --with-freetype --with-freetype-includes=/usr/include/freetype2 --with-readline --with-sqlite --with-tiff --with-x --with-odbc --enable-64bit 2>&1 | tee config_log.txt

A colleage then complained to me saying I had some kind of invisible
character at the end of each line of a shell script (naturally, writen
in emacs) that I'd sent him. He was having to guess where each of
these nasty characters was and delete them line by line.  I think he
has emacs on Ubuntu, I am running emacs21 on Debian etch.

How might I try to identify what is going on here?

cheers
Dave

^ permalink raw reply	[flat|nested] 32+ messages in thread
[parent not found: <20080131144200.566493BC03B@ufc.univ-fcomte.fr>]
[parent not found: <20080131170759.CC0B71BC00C@ufc.univ-fcomte.fr>]

end of thread, other threads:[~2008-02-04 13:10 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-26 17:14 Mysterious hidden end of line characters David
2008-01-26 19:21 ` Thierry Volpiatto
2008-01-26 19:54   ` David
2008-01-26 20:06   ` David
2008-01-26 20:08     ` David
     [not found]   ` <mailman.6584.1201377847.18990.help-gnu-emacs@gnu.org>
2008-01-27  6:10     ` Tim X
2008-01-27  7:17       ` kgdb in emacs Sanjeev Kumar.S
2008-01-27  8:26         ` Nick Roberts
2008-01-27  8:53           ` Sanjeev Kumar.S
2008-01-27  9:23             ` Nick Roberts
2008-01-27 10:17               ` Sanjeev Kumar.S
2008-01-27 10:51                 ` Nick Roberts
2008-01-27 11:21                   ` Sanjeev Kumar.S
2008-01-27 20:40                     ` Nick Roberts
2008-01-26 20:41 ` Mysterious hidden end of line characters Peter Dyballa
2008-01-30 15:04   ` David
     [not found]   ` <mailman.6748.1201705322.18990.help-gnu-emacs@gnu.org>
2008-01-31  6:21     ` Tim X
2008-01-31 10:20       ` Thierry Volpiatto
2008-01-31 11:17         ` Peter Dyballa
2008-01-31 12:44           ` Thierry Volpiatto
2008-01-31 16:04           ` Thierry Volpiatto
2008-01-31 16:12           ` Thierry Volpiatto
2008-01-31 16:40           ` Thierry Volpiatto
2008-02-02 14:18           ` Thierry Volpiatto
2008-02-04 13:00           ` Thierry Volpiatto
2008-02-04 13:10           ` Thierry Volpiatto
     [not found] <20080131144200.566493BC03B@ufc.univ-fcomte.fr>
2008-01-31 16:36 ` David
     [not found] <20080131170759.CC0B71BC00C@ufc.univ-fcomte.fr>
2008-01-31 17:54 ` David
2008-01-31 18:28   ` Thierry Volpiatto
2008-02-01 12:54     ` David
2008-02-01 14:07       ` Thierry Volpiatto
2008-02-01 15:11       ` Thierry Volpiatto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).