i've created an empty txt-file as a template for other (very new and clueless) unix-users, to make sure they don't forget the txt-extension and use the correct newline & encoding when exchanging simple texts/notes with windows-users/machines.
now an interesting problem occurs:
- files created on top of this empty template are messed up under windows (of corse because of the lacking
- a template with just a space (or any other text) in it works as it should but just if created with
xed(based on gedit),
vim; but when created with
mousepadit behaves like the empty templates.
- at the point when there is a newline in the template it works with every of the mentioned editors.
is there a way to create an empty txt-file with saved settings like encoding and newline/EOL?
bonus-question: why do this editors save different files?