Closed Witcher01 closed 1 year ago
Calling rbw get also outputs a newline when piped into another program like xclip.
rbw get
xclip
In my opinion this should be avoided to allow nice integration into a shell script, for instance, without having to strip newlines.
Should this be implemented?
This could even be gated behing a call to isatty to check if it is used to show the password interactively or as part of a pipeline.
isatty
And of course, a command line argument to explicitly get either behaviour.
Calling
rbw get
also outputs a newline when piped into another program likexclip
.In my opinion this should be avoided to allow nice integration into a shell script, for instance, without having to strip newlines.
Should this be implemented?