Bug 75831 - text files saved in gedit, read in console, no last line
Summary: text files saved in gedit, read in console, no last line
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gedit
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-13 12:53 UTC by dexterthrowaway
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-10-13 12:53:54 UTC
Embargoed:


Attachments (Terms of Use)

Description dexterthrowaway 2002-10-13 12:53:48 UTC
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):


How reproducible:
Always

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

Additional info:

Comment 1 Havoc Pennington 2002-10-13 15:40:50 UTC
You probably didn't put a newline on the end of the file in gedit. vi does that
automatically.

Moved to http://bugzilla.gnome.org/show_bug.cgi?id=95676

Comment 2 Havoc Pennington 2002-10-14 14:59:57 UTC
Upstream bug closed, we will get the fix on upgrade.


Note You need to log in before you can comment on or make changes to this bug.