diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-21 14:09:57 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-12-14 16:05:43 +0100 |
| commit | 3636d52cbebe81e306b3571183232f6e8be730d1 (patch) | |
| tree | 7fbbdab436bbd4299c25cee31e63ce6eabcfbdbc /util-linux | |
| parent | e977853e70d4a8c346a1ad765fc8353ce0e2ced8 (diff) | |
| download | busybox-w32-3636d52cbebe81e306b3571183232f6e8be730d1.tar.gz busybox-w32-3636d52cbebe81e306b3571183232f6e8be730d1.tar.bz2 busybox-w32-3636d52cbebe81e306b3571183232f6e8be730d1.zip | |
more: accept and ignore -e
Accept and ignore -e which is specified in POSIX.
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/more.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c index eea69da06..a830dcbc1 100644 --- a/util-linux/more.c +++ b/util-linux/more.c | |||
| @@ -84,11 +84,12 @@ int more_main(int argc UNUSED_PARAM, char **argv) | |||
| 84 | /* Parse options */ | 84 | /* Parse options */ |
| 85 | /* Accepted but ignored: */ | 85 | /* Accepted but ignored: */ |
| 86 | /* -d Display help instead of ringing bell */ | 86 | /* -d Display help instead of ringing bell */ |
| 87 | /* -e Exit immediately after writing the last line */ | ||
| 87 | /* -f Count logical lines (IOW: long lines are not folded) */ | 88 | /* -f Count logical lines (IOW: long lines are not folded) */ |
| 88 | /* -l Do not pause after any line containing a ^L (form feed) */ | 89 | /* -l Do not pause after any line containing a ^L (form feed) */ |
| 89 | /* -s Squeeze blank lines into one */ | 90 | /* -s Squeeze blank lines into one */ |
| 90 | /* -u Suppress underlining */ | 91 | /* -u Suppress underlining */ |
| 91 | getopt32(argv, "dflsu"); | 92 | getopt32(argv, "deflsu"); |
| 92 | argv += optind; | 93 | argv += optind; |
| 93 | 94 | ||
| 94 | /* Another popular pager, most, detects when stdout | 95 | /* Another popular pager, most, detects when stdout |
