Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Use readOptionFile and don't trim aggressively #91

Merged
merged 1 commit into from
Mar 1, 2018

Conversation

som-snytt
Copy link
Contributor

Conventionally, a multiline file means take each line
as an element, no quote parsing required. To support
trailing spaces, do not aggressively trim the input;
that was probably to avoid confusion over a nonempty
line consistently only of spaces; but still do drop
empty elements, that is, a line of zero length.
An empty line is useful to force multiline handling
of a single element. (A single line is split on space.)

Conventionally, a multiline file means take each line
as an element, no quote parsing required. To support
trailing spaces, do not aggressively trim the input;
that was probably to avoid confusion over a nonempty
line consistently only of spaces; but still do drop
empty elements, that is, a line of zero length.
An empty line is useful to force multiline handling
of a single element. (A single line is split on space.)
@retronym retronym merged commit 038308e into scala:1.1.x Mar 1, 2018
lrytz pushed a commit to lrytz/scala-partest that referenced this pull request May 9, 2018
Use readOptionFile and don't trim aggressively
lrytz pushed a commit to lrytz/scala-partest that referenced this pull request May 9, 2018
Use readOptionFile and don't trim aggressively
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants