about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorZoran Plesivcak <zplesiv@gmail.com>2020-11-08 10:40:13 +0000
committerZoran Plesivcak <zplesiv@gmail.com>2020-11-08 10:40:13 +0000
commita8105b082f94729669d0509f07c98aa566c0278f (patch)
tree201df20c59811a75a683b4b2dd09830484818e67 /examples
parente4d2f6ec877432382c4cf5b6ad58461aac3ae7af (diff)
downloadranger-a8105b082f94729669d0509f07c98aa566c0278f.tar.gz
Allow $PAGER to contain spaces (handle pager flags)
This change is similar to: c826091a74e88102ca1795ab9798dd8b8498f653 .
See the referenced commit for the explanation.

Note that $PAGER is not a strictly better than "$PAGER". In the
cases where the pager executable in PAGER contains spaces e.g.
"/path with spaces/bin/less" the "$PAGER" works correctly and $PAGER
doesn't. This occurrence is much less frequent than pager in PAGER
containing flags, e.g. "less -R" which works correctly with $PAGER, but
doesn't with "$PAGER".

This change is a desirable trade-off.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions