Nano breaks bash scripts with default config in edgy
Bug #62666 reported by
Tom Bruno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nano (Debian) |
Fix Released
|
Unknown
|
|||
nano (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: nano
If not specified --noconvert on command line, nano saves files that were opened with ^M instead of new lines (CR-LF). This is BAD as it breaks bash scripts.
if open a new file, it does not do this.
if open a file for editing then save changes, it does.
in Ubuntu Edgy with nano 1.3.12-2
This just started happening recently (like today)
Changed in nano: | |
importance: | Undecided → Medium |
Changed in nano: | |
status: | Unknown → Confirmed |
Changed in nano: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
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.