less/less.sh
Petr Šabata 5c4f29e5c8 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/less#272509e536116b12c1fcc1135e6c5890ec5f64cc
2020-10-15 15:14:19 +02:00

9 lines
253 B
Bash

# less initialization script (sh)
# All less.*sh files should have the same semantics!
if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then
# The '||' here is intentional, see rhbz#1254837.
export LESSOPEN="||/usr/bin/lesspipe.sh %s"
fi