Re: dnf output to STDOUT/STDERR

2015-08-31 Thread Joachim Backes

On 31.08.2015 09:54, Michal Luscon wrote:

Would you mind filling a proper bugzilla report on bugzilla.redhat.com?

Regards,

Michal Luscon


On 08/31/2015 08:16 AM, Joachim Backes wrote:

Some dnf messages are not relevant to me, so I redirect STDERR to
/dev/null if using dnf. But this has the disadvantage the the prompt
"Is this ok [y/N]:" gets lost too. Obviously it is written to STDERR.

So my proposal for dnf: write the prompt "Is this ok [y/N]:" to STDOUT
and not to STDERR.

Kind regards

Joachim Backes




Did it: https://bugzilla.redhat.com/show_bug.cgi?id=1258364

--

Fedora release 23 (Twenty Three)
Kernel-4.2.0-0.rc8.git3.1.fc23.x86_64


Joachim Backes 
https://www-user.rhrk.uni-kl.de/~backes
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: dnf output to STDOUT/STDERR

2015-08-31 Thread Michal Luscon

Would you mind filling a proper bugzilla report on bugzilla.redhat.com?

Regards,

Michal Luscon


On 08/31/2015 08:16 AM, Joachim Backes wrote:
Some dnf messages are not relevant me, so I redirect STDERR to 
/dev/null if using dnf. But this has the disadvantage the the prompt 
"Is this ok [y/N]:" gets lost too. Obviously it is written to STDERR.


So my proposal for dnf: write the prompt "Is this ok [y/N]:" to STDOUT 
and not to STDERR.


Kind regards

Joachim Backes


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

dnf output to STDOUT/STDERR

2015-08-30 Thread Joachim Backes
Some dnf messages are not relevant me, so I redirect STDERR to /dev/null 
if using dnf. But this has the disadvantage the the prompt "Is this ok 
[y/N]:" gets lost too. Obviously it is written to STDERR.


So my proposal for dnf: write the prompt "Is this ok [y/N]:" to STDOUT 
and not to STDERR.


Kind regards

Joachim Backes
--

Fedora release 23 (Twenty Three)
Kernel-4.2.0-0.rc8.git3.1.fc23.x86_64


Joachim Backes 
https://www-user.rhrk.uni-kl.de/~backes
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct