D7net Mini Sh3LL v1
OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /../bin/ |
|
Current File : //../bin/sensible-pager |
#!/bin/sh
# Prevent recursive loops, where these values are set to this script
p="$(which sensible-pager)"
[ -n "$PAGER" ] && [ "$(which $PAGER || true)" = "$p" ] && PAGER=
${PAGER:-pager} "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
more "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
echo "Couldn't find a pager!" 1>&2
echo "Set the \$PAGER environment variable to your desired pager." 1>&2
exit 1
fi
fi
AnonSec - 2021 | Recode By D7net