Skip to content
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

Option: trim trailing newline from output #39

Merged
merged 4 commits into from
Mar 10, 2022

Conversation

aaaaaaaalex
Copy link
Contributor

Hey, I added something I thought might be a useful addition 😃

Very simple option that nullifies trailing newline chars when output would otherwise end in one. I personally have a use-case for this, and it seems a few other people do too as there are a few SO questions relating to it. xclip has a similar option to this (-r).

Please request any changes you feel are necessary, or close this if I've missed something horribly obvious that would render this PR useless 🤣

Best regards

@lmburns
Copy link

lmburns commented Mar 10, 2022

I'd like for this to be a feature as well

@kfish kfish merged commit 30c84fd into kfish:master Mar 10, 2022
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.

3 participants