Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

End of line problem #4

Closed
Germanaz0 opened this Issue Mar 2, 2013 · 1 comment

Comments

Projects
None yet
2 participants

When I put one variable into a ini file at the end of file, it doesn't read correctly.

@rudimeier rudimeier added a commit that referenced this issue Mar 5, 2013

@rudimeier rudimeier Merge branch 'fix_issue4'
* fix_issue4:
  fix, last line without newline was ignored if (issue #4)
  add test case "no newline at the end of file" (issue #4)
daf1fd3
Owner

rudimeier commented Mar 5, 2013

Thanks,
more precisely the problem is a missing newline at the end of ini file.
Note that in general any text (or .ini) file should end with a line feed because many text processing tools could have problems if it's missing. For example even "wc -l" would not count such a last line.

Fixed in daf1fd3

@rudimeier rudimeier closed this Mar 5, 2013

@rudimeier rudimeier added a commit that referenced this issue Mar 5, 2013

@rudimeier rudimeier Merge branch 'fix_issue4' into next
* fix_issue4:
  fix, last line without newline was ignored if (issue #4)
  add test case "no newline at the end of file" (issue #4)

Conflicts:
	test/test1.sh
56c8698
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment