← Commit list

0e0209ac5

Denys Vlasenko
Denys Vlasenko
2018-02-27
SUCCESS Duration: 143s

Subject

less: accept -R option. Closes 10816

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/less.c+5 -1
@@ -1814,7 +1814,11 @@ int less_main(int argc, char **argv)
* -s: condense many empty lines to one
* (used by some setups for manpage display)
*/
- getopt32(argv, "EMmN~I" IF_FEATURE_LESS_TRUNCATE("S") /*ignored:*/"s");
+ getopt32(argv, "EMmN~I"
+ IF_FEATURE_LESS_TRUNCATE("S")
+ IF_FEATURE_LESS_RAW("R")
+ /*ignored:*/"s"
+ );
argv += optind;
num_files = argc - optind;
files = argv;