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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to