How to use strace upon redirection?
kevin.tian at intel.com
Wed Aug 6 23:47:13 UTC 2003
I'd like to use strace to see what shell will do for redirection.
However it seems hard to achieve it.
For example: "#strace cat /etc/passwd >aaa"
Shell will make the redirection before execve "strace cat /etc/passwd"
and ">aaa" is considered as parameter to shell, not to cat.
So who could help me to trace redirection process of shell? How could I
make shell consider ">aaa" as simple parameters to execve?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Strace-devel