# Both DOS and UNIX style line endings

**URL:** <https://forum.pinegrow.com/t/both-dos-and-unix-style-line-endings/2152>\
**Category:** General\
**Created:** [August 30, 2018, 1:26pm UTC](https://forum.pinegrow.com/t/both-dos-and-unix-style-line-endings/2152 "2018-08-30T13:26:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![texxsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/texxsmith/32/1201_2.png) [@texxsmith](https://forum.pinegrow.com/u/texxsmith)\
**Post date:** [August 30, 2018, 1:26pm UTC](https://forum.pinegrow.com/t/both-dos-and-unix-style-line-endings/2152/1 "2018-08-30T13:26:42Z")

</div>

Hi, I used the PG starter theme (v2) and in Pinegrow 4.9 and then closed it, opened up the exported WordPress theme in another editor and made some edits adding some of the things that Pinegrow can’t do and then saved those files. I used WordPress’s “official” “Theme Check” plugin to check the theme and one of the errors I got, for several files, every php file I opened in the other editor (but not the CSS files I edited), in fact, was:

> Both DOS and UNIX style line endings were found in the file **index.php**. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [August 30, 2018, 3:39pm UTC](https://forum.pinegrow.com/t/both-dos-and-unix-style-line-endings/2152/2 "2018-08-30T15:39:29Z")

</div>

Hi Texx,

This does not happen with untouched files (I mean the PHP files produced by Pinegrow during an export) so I guess you have edited the PHP theme files with a misconfigured external editor or another tool.

 ![vsc](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/b/b1c625390d6b65434805f7a2555ec235886d6c60.jpeg)

Cheers.

---

<div class="post-metadata">

**Author:** ![Pervasive](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/pervasive/32/2251_2.png) [@Pervasive](https://forum.pinegrow.com/u/Pervasive)\
**Post date:** [August 30, 2019, 10:55am UTC](https://forum.pinegrow.com/t/both-dos-and-unix-style-line-endings/2152/3 "2019-08-30T10:55:16Z")

</div>

Well, I would imagine if you open your file in Wordpad; Select-all, Cut and Paste into Notepad; and then Save it – everything will now be CR/LF and should pass the test.
