> echo "::findleaks -v -d " | mdb -p $pid | c++filt > > However, it does not work: it seems that when mdb input is redirected, > it wraps lines at 80 characters and C++ names are not demangled > correctly.
Does setting the output width with the $w command work? echo '300$w ; ::findleaks -v -d' | mdb ... -- This message posted from opensolaris.org