Bug 210990

Summary: konsole --list-profiles output cannot be redirected
Product: [Applications] konsole Reporter: suppandi G <suppandi>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: dmitry.guryanov, robertknight
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description suppandi G 2009-10-18 18:05:36 UTC
Version:            (using KDE 4.3.1)
Installed from:    SuSE RPMs

I try

konsole --list-profiles > /tmp/list
cat /tmp/list 
and the file is empty

also x=`konsole --list-profiles` && echo $x

same result
Comment 1 Robert Knight 2009-10-18 22:10:40 UTC
Like --help, the --list-profiles output is sent to standard error, so it can be redirected albeit with a slightly different syntax.

It should be output to standard output though as your example expects.
Comment 2 suppandi G 2009-10-19 19:02:04 UTC
didnt help. I tried

konsole --list-profiles 2>/tmp/list

the list showed up on screen

konsole --list-profiles 2>&1 > /tmp/list

nothing on screen, nothing in file
Comment 3 Dmitry Guryanov 2010-04-14 15:17:31 UTC
Seems to be fixed, checked in revision 1114756

:) kde@dhcp-10-30-18-116 ~/kde/bin $ ./konsole --list-profiles > 1
:) kde@dhcp-10-30-18-116 ~/kde/bin $ cat 1
Shell
Comment 4 Kurt Hindenburg 2010-04-14 15:35:46 UTC
Likely fixed when 192241 was fixed.