This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Discard errors when testing for less -R
authorH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Sat, 26 Jul 2014 15:12:28 +0000 (17:12 +0200)
committerH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Sat, 26 Jul 2014 15:12:28 +0000 (17:12 +0200)
commit97a25c8c3f98610bc03aa5ad74a11c9141998ef2
tree5ce8f148844e9c304642b5fd5b5e435b7616f472
parent734be76ddfab4b1ce6222a3bdb6de3c999ff6b11
Discard errors when testing for less -R

When we try replacing 'less' with 'less -R', it's possible
that less will output errors if the option is not supported;
this happens, for example, in busybox's less.

Backport of a872f748481d44baa8bc0f6eb29659782c96ba7f
Author: Brian Fraser <fraserbn@gmail.com>  2014-07-25 19:13:26
U/modified/Loc.U