Red Hat Bugzilla – Bug 75831
text files saved in gedit, read in console, no last line
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
whenever i create a text file in gedit, when i view this in the console using
"cat <textfile>" i don't see the last line. it only appears when i open it in vi
and save it. then "cat <textfile>" works.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a multiline textfile in gedit, and save
2. open a console and type "cat <filename>"
3. notice the last line is not there.
4. open file with vi, and ":wq" to save and quit.
5. type "cat <filename>" last line now shows
Actual Results: uh... repeat steps above. save in gedit. cat in a console. no
last line. open and save in vi. cat again. last line shows.
Expected Results: saving in gedit and cat in console should always show last line
You probably didn't put a newline on the end of the file in gedit. vi does that
Moved to http://bugzilla.gnome.org/show_bug.cgi?id=95676
Upstream bug closed, we will get the fix on upgrade.