GNU nano - Bugs: bug #55997, to protect novices, nano should...
You are not allowed to post comments on this tracker with your current authentication level.
bug #55997: to protect novices, nano should produce files with POSIX lines by default
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Mon 25 Mar 2019 01:24:49 PM UTC | ||
Votes: | 12 | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Tue 16 Apr 2019 08:41:51 AM UTC, comment #7: |
Benno Schulenberg <bens> |
Sun 07 Apr 2019 08:09:57 AM UTC, comment #6: The behavior has been reverted in git, commit 25523070.
|
Benno Schulenberg <bens> |
Fri 05 Apr 2019 04:17:48 AM UTC, comment #5: Having looked into emacs further, even it enables terminating final lines,
|
Dev Null <nnnn20430> |
Fri 05 Apr 2019 03:12:14 AM UTC, comment #4: While gnu coreutils, may be hardened against non terminated last lines,
|
Dev Null <nnnn20430> |
Sun 31 Mar 2019 02:34:35 AM UTC, comment #3: Try using "cat file1 file2" when file1 doesn't have a final newline, it can break scripts which parse concatentated files. And "cat file1" doesn't advance prompt to next line. And both "cat file1 |wc -l" and "wc -l file1" return 0. |
Brand Huntsman <brand> |
Mon 25 Mar 2019 06:01:11 PM UTC, comment #2: Can you give three or more examples of Unix programs that mistreat or fail to treat an unterminated final line? Because if it's just one or two outlier programs that have a problem with such a line, it isn't worth the trouble. |
Benno Schulenberg <bens> |
Mon 25 Mar 2019 02:01:42 PM UTC, comment #1: Thanks for opening the bug Benno, and subscribing me, I would have gotten around to doing it myself eventually. |
Ralph Corderoy <ralph> |
Mon 25 Mar 2019 01:24:49 PM UTC, original submission:
(Originally posted by Ralph Corderoy, in bug #55067.)
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 12 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-04-16 | bens | Open/Closed | Open | Closed | |
2019-04-07 | bens | Status | None | Fixed | |
2019-04-05 | bens | Assigned to | None | bens | |
Summary | to protect novices, nano should produce POSIX text files by default | to protect novices, nano should produce files with POSIX lines by default | |||
2019-04-05 | nnnn20430 | Carbon-Copy | - | Added nnnn20430 | |
2019-03-26 | faxanadu | Carbon-Copy | - | Added faxanadu | |
2019-03-25 | bens | Carbon-Copy | - | Added ralph |
Powered by Savane 3.13-02a9.
Corresponding source code
The fix has been released in version 4.1. Thanks for reporting.