Skip to content

Fix #28 by stripping the trailing new line#29

Merged
piuccio merged 1 commit intopiuccio:masterfrom
doug2k1:fix-28
Oct 25, 2017
Merged

Fix #28 by stripping the trailing new line#29
piuccio merged 1 commit intopiuccio:masterfrom
doug2k1:fix-28

Conversation

@doug2k1
Copy link
Contributor

@doug2k1 doug2k1 commented Oct 24, 2017

According to get-stdin author, the trailing new line produced by echo is expected.

He recommends using strip-eof to remove it, which is what I did in this PR.

Edit: If my understanding is correct, the Perl version uses chomp for the same effect.

Thanks!

@piuccio piuccio merged commit 26d3ffd into piuccio:master Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants