Bug 210990 - konsole --list-profiles output cannot be redirected
Summary: konsole --list-profiles output cannot be redirected
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-18 18:05 UTC by suppandi G
Modified: 2010-04-14 15:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.