Stuart Henderson <s...@spacehopper.org> writes:

[...]

> What you need is:
>
>              $ pkg_delete -an 2>&1 > /tmp/foo
>
> - redirect stderr to stdout, then redirect stdout (which now includes
> stderr) to /tmp/foo.

This does not really work. There is some information left but not the
list of unused dependencies.

This list seems to be part of the progress bar. With script, as proposed
by Navan, the output is mangled with * and escape sequence. And if you
use -x, you do not get the list either.
-- 
Manuel Giraud

Reply via email to