[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] less: respect -E (quit at EOF)
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2013-10-16 17:52:21
Message-ID: 201310161952.21735.vda.linux () googlemail ! com
[Download RAW message or body]
On Friday 13 September 2013 23:13, Aaro Koskinen wrote:
> less displays -E in help text, but it's not doing anything. Make it quit
> less when the last lines of the file have been printed.
Buggy. Try this command:
{ sleep 1; cat busybox_unstripped.map; sleep 1; } | ./busybox less -E
in the build tree. less will exit immediately, even though
not entire input is seen yet.
You probably want to also check that (eof_error <= 0).
--
vda
_______________________________________________
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