This is weird. On Debian testing
ekiga -d 4 2>&1 > /tmp/ekiga.dmp
produces no output: ekiga.dmp is created but is empty.
Variations on the same theme also do not produce the expected output as
for example
ekiga -d 4 2>&1 |less
ekiga -d 4 *does* flood the terminal as expected.
echo "testing"
On 07/02/15 17:21, ael wrote:
This is weird. On Debian testing
ekiga -d 4 2>&1 > /tmp/ekiga.dmp
produces no output: ekiga.dmp is created but is empty.
It is a tricky thing in shell, you need to understand it well. Here it is.
ekiga writes at descriptor 2.
Your command changes descriptor 2
On Sat, Feb 07, 2015 at 10:20:50PM +0100, Eugen Dedu wrote:
> On 07/02/15 17:21, ael wrote:
> >This is weird. On Debian testing
> > ekiga -d 4 2>&1 > /tmp/ekiga.dmp
> >produces no output: ekiga.dmp is created but is empty.
>
> It is a tricky thing in shell, you need to understand it well. Here