[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] more: accept and ignore -e
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2022-12-14 14:54:42
Message-ID: CAK1hOcPTVizDCuxLKCOhS+sE2tFhJV81TAQx1Dc8rKhkbLEgXQ () mail ! gmail ! com
[Download RAW message or body]

Applied, thank you.

On Mon, Nov 21, 2022 at 2:20 PM Natanael Copa <ncopa@alpinelinux.org> wrote:
>
> Accept and ignore -e which is specified in POSIX.
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html
> ---
>  util-linux/more.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> 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)
>         /* 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
> --
> 2.38.1
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic