# File-In node oddities

**URL:** https://discourse.nodered.org/t/file-in-node-oddities/17121
**Category:** General
**Created:** [25 October 2019 08:13 UTC](https://discourse.nodered.org/t/file-in-node-oddities/17121 "2019-10-25T08:13:15Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [14 December 2019 15:51 UTC](https://discourse.nodered.org/t/file-in-node-oddities/17121/21 "2019-12-14T15:51:02Z")

</div>

Nano was designed to support editing shell scripts amongst others and many shells require an extra line feed as the final line to make sure that they don't hit issues like this.

Perhaps another change is needed to the file-in node to allow for an empty final line?

---

<div class="post-metadata">

### Author: ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)
#### Post date: [14 December 2019 16:02 UTC](https://discourse.nodered.org/t/file-in-node-oddities/17121/22 "2019-12-14T16:02:16Z")

</div>

> [@cymplecy](#):
>
> Now I know about it, I can save that one extra keypress

But in actual fact you will still have a net gain of one extra because of the -L 🙂

The thing that really annoyed me was that when Nano reads/writes files and shows the number of lines, it doesn't count that faux line that gets created. 😠

[Previous page](https://discourse.nodered.org/t/file-in-node-oddities/17121.md?page=1)
