Bug 234427
Summary: | mcedit does not include EOL at the end of the file (mc's internal editor) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Milan Kerslager <milan.kerslager> |
Component: | mc | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | leonard-rh-bugzilla, pknirsch, theinric |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-18 12:04:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Milan Kerslager
2007-03-29 06:35:05 UTC
i would say that this is rather a feature than a bug. if you want an eol (newline), just type in one. In Unix all text files should have EOL at the very end of file. Many programs (if not all) in FC6 just ignore the last line without EOL. VI (or ViM or any other Unix editor) always put EOL at the end of file and this is correct behaviour. emacs, joe, mcedit don't. there is no way to tell if the file is an ordinary text file, the user should decide. one more keystroke is not so much effort. The ending EOL is a feature which is better to be proposed on the mc upstream mailing list as I'm sure we don't want to differ here from other distros. It should definitely be configurable. Closing NOTABUG since it's a feature. A possible downstream fix would introduce regression. |