nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] address@hidden: Bug#451659: nano: does wrong line-convertin


From: Jordi Mallach
Subject: [Nano-devel] address@hidden: Bug#451659: nano: does wrong line-converting]
Date: Sat, 17 Nov 2007 19:30:04 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

Hi,

This bug looks bad enough to have a close look.

Jordi
-- 
Jordi Mallach PĂ©rez  --  Debian developer     http://www.debian.org/
address@hidden     address@hidden     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
--- Begin Message --- Subject: Bug#451659: nano: does wrong line-converting Date: Sat, 17 Nov 2007 19:07:46 +0100
Package: nano
Version: 2.0.2-1etch1
Severity: important

Forwarded from
https://bugs.edge.launchpad.net/ubuntu/+source/nano/+bug/62666
If not specified --noconvert on command line, nano saves files with CR
instead of new lines (LF). This is BAD as it breaks bash scripts.

This only occurs with some files. Some files can start out as unix
format, then be saved and are now dos/mac format. Other files don't do
this.

This file has unix-style line-endings: 
http://launchpadlibrarian.net/4532611/grabber.sh
Opening it in vim shows up as expected. Opening it in nano does so too,
except that it shows a message that reads "Converted from Mac format".
Saving it again results in saving mac-style line-endings. 

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9-023stab043.1-smp
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages nano depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libncursesw5           5.5-5             Shared libraries for terminal hand

nano recommends no packages.

-- no debconf information


--- End Message ---

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]