/usr/lib/radare/bin/path is in radare-common 1:1.5.2-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
#
if [ -z $1 ]; then
echo "Usage: rsc path [file]"
exit 1
fi
for a in `echo $PATH | sed -e 's,:, ,'`; do
if [ -x "$a/$1" ]; then
echo "$a/$1"
exit 0
fi
done
exit 1
|