/usr/lib/radare/bin/view 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 17 18 19 20 21 22 23 | #!/bin/sh
# XXX ultra ugly script
if [ -n "$PRGVIEW" ]; then
exec $PRGVIEW $@
fi
if [ -e /usr/bin/gqview ]; then
gqview $@
else
if [ -e /usr/bin/eog ]; then
eog $@
else
if [ -e /usr/bin/feh ]; then
feh $@
else
if [ -e /usr/bin/cacaview ]; then
gqview $@
else
echo "No image viewer found"
fi
fi
fi
fi
|