Hazimil
Contributor
- Joined
- May 26, 2014
- Messages
- 172
Hazimil submitted a new resource:
Why does editing a FreeNAS script/text file on a Windows PC or Mac cause issues when copied to NAS? - FreeBSD treats the end-of-line character different than Windows/DOS and Macs.
Read more about this resource...
Why does editing a FreeNAS script/text file on a Windows PC or Mac cause issues when copied to NAS? - FreeBSD treats the end-of-line character different than Windows/DOS and Macs.
I've seen this come up a couple of times now, so I decided to post a resource about it.
Background:
When people copy a script/text file to their FreeNAS server which was created (or downloaded) on their Windows PC or Mac, the script sometimes fails to run correctly or displays weird characters at the end of each line, i.e.^M
.
This is often due to the fact that UNIX (including Linux and FreeBSD), Windows/DOS, and Macs all treat the newline encoding in a text file...
Read more about this resource...