Hey, I added something I thought might be a useful addition :smiley:
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 :rofl:
Hey, I added something I thought might be a useful addition :smiley:
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 :rofl:
Best regards