Given tree /some/directory | print.shIs there any way for print.sh to know that tree -f /some/directory was called, without trying to parse pid processes?
Best way to determine piped command to shell script?
shell;shell script;process;pipe