← Commit list

3636d52cb

Natanael Copa
Natanael Copa
2022-12-14
SUCCESS Duration: 304s

Subject

more: accept and ignore -e

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 →

util-linux/more.c+2 -1
@@ -84,11 +84,12 @@ int more_main(int argc UNUSED_PARAM, char **argv)
/* Parse options */
/* Accepted but ignored: */
/* -d Display help instead of ringing bell */
+ /* -e Exit immediately after writing the last line */
/* -f Count logical lines (IOW: long lines are not folded) */
/* -l Do not pause after any line containing a ^L (form feed) */
/* -s Squeeze blank lines into one */
/* -u Suppress underlining */
- getopt32(argv, "dflsu");
+ getopt32(argv, "deflsu");
argv += optind;
/* Another popular pager, most, detects when stdout