-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sed has undefined behavior if input does not ed with new line #30
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
genspio/src/lib/language.ml
Line 147 in a2eb824
Here we use the fact that
$( )
removes the last new-line thatsed
potentially added (OSX does add it; GNU sed doesn't)cf. http://stackoverflow.com/questions/13325138/why-does-sed-add-a-new-line-in-osx
& http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html (definition of "Text file")
The text was updated successfully, but these errors were encountered: