[BusyBox] [PATCH] support "tail +nnn"

bug1 at optushome.com.au bug1 at optushome.com.au
Mon Dec 23 05:01:03 UTC 2002


On Sun, 22 Dec 2002 21:07:30 -0800
Dan Kegel <dank at kegel.com> wrote:

> (Apologies if this has been posted before.)
> 
> Some shell scripts from very big, very popular companies rely on the
> obsolete syntax
>    tail +10 foo.txt
> 
> Turns out this is very easy to implement; here's a patch against
> busybox 0.60.5.  Please review, and if it's ok, please apply.
>

I used a different approach to add this feature to the unstable branch,
and saved a few bytes in the proces :)

I was thinking of adding a define CONFIG_FEATURE_TAIL_OBSOLETE to turn
this feature off, it wont save any space, but maybe some people dont
want the obsolete features enabled, comments ?



Glenn



More information about the busybox mailing list