Gabriella439 / Gabriella439/turtle
output always appends a newline
Open
- Dominant language
- Haskell
- Stars
- 978
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
``` haskell
output "test" $ pure "foo"
```
gives a file with `"foo\n"` whereas
``` shell
echo -n "foo" > test
```
gives a file with `"foo"`, `>` doesn’t change the input.
This may be (was actually. :)) source of confusion. Of course it can be migitated by using `Text.writeFile`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.