Re: newlines in files
| From: | Lee Doolan | Date: | Thu, 25 Oct 2001 23:53:40 +0000 |
| Subject: | Re: newlines in files | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1730@lists.php.net to get a copy of this message | ||
>>>>> "Monte" == Monte Ohrt <monte@ispi.net> writes:
[. . .]
Monte> For instance, with the VI editor (I tried nedit too), open
Monte> a file, type "foo", then save it. If you do a raw dump of
Monte> the file content, you will see that it does contain a new
Monte> line "foo\n". I suppose this is they way (any?) editor
Monte> behaves, putting this in as an EOF marker.
If you are using emacs then the last line of a file
will not have a newline unless you put it there.