2021-07-02 16:33:30 +00:00
|
|
|
#!/bin/sh
|
2022-03-29 11:51:18 +00:00
|
|
|
while true; do
|
|
|
|
case $1 in
|
|
|
|
(-e) filter="\|ENOENT"; shift;;
|
|
|
|
(*) break;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
strace --follow-forks -e trace=file "$@" 2>&1 | grep -v "\(newfstatat$filter\)" | cut -d'"' -f2 | grep -v "\(.so\|/dev/\)" | less
|