From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.help Subject: Mysterious hidden end of line characters. Date: Sat, 26 Jan 2008 18:14:51 +0100 Message-ID: <20080126171451.GB20762@univ-fcomte.fr> Reply-To: dpleydel@univ-fcomte.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201367560 26782 80.91.229.12 (26 Jan 2008 17:12:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 17:12:40 +0000 (UTC) Cc: Patrick Giraudoux To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 26 18:13:00 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIoaR-000651-Fe for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 18:12:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIoa0-0001cy-S9 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 12:12:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIoZh-0001b8-61 for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 12:12:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIoZf-0001aT-4X for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 12:12:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIoZf-0001aQ-1V for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 12:12:11 -0500 Original-Received: from ufc.univ-fcomte.fr ([194.57.91.200]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIoZe-00012T-N2 for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 12:12:10 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ufc.univ-fcomte.fr (Postfix) with ESMTP id 3BA001BC03A for ; Sat, 26 Jan 2008 18:12:08 +0100 (CET) Original-Received: from ufc.univ-fcomte.fr ([127.0.0.1]) by localhost (ufc.univ-fcomte.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13263-07 for ; Sat, 26 Jan 2008 18:12:07 +0100 (CET) Original-Received: from ufc204.univ-fcomte.fr (ufc204.univ-fcomte.fr [194.57.91.204]) by ufc.univ-fcomte.fr (Postfix) with ESMTP id 1BB02109C005 for ; Sat, 26 Jan 2008 18:12:07 +0100 (CET) Original-Received: from dell-1 (localhost.localdomain [127.0.0.1]) by ufc204.univ-fcomte.fr (Postfix) with SMTP id 0A1733C29EC; Sat, 26 Jan 2008 18:12:06 +0100 (CET) Original-Received: by dell-1 (sSMTP sendmail emulation); Sat, 26 Jan 2008 18:14:51 +0100 Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: amavisd-new at univ-fcomte.fr X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50988 Archived-At: 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