Bug#522318: seamless last(1) even at the beginning of the month

Dmitry Bogatov KAction at debian.org
Thu Feb 21 17:55:13 GMT 2019


control: reassign -1 util-linux

To be honest, I do not understand what is the proposal/misbehaviour, but
since last(1) is now provided by util-linux, reassigning.

[2009-04-03 02:51] jidanni at jidanni.org
> Package: sysvinit-utils
> Severity: wishlist
>
> It's that time of the month again :-)
> $ last
>
> wtmp begins Thu Apr  2 23:01:04 2009
>
> I wish last would always just show oh, a month's worth of entries.
> OK, I'll use this workaround:
>
> { last; last -f /var/log/wtmp.1;}|
> perl -nwle 'next if /^$|wtmp.*begins/;print;exit if $.==22'
>
> No longer does last act like a sawtooth wave depending on the day of the
> month.
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --




More information about the Debian-init-diversity mailing list