Bug 12982

Summary: last does not support -y option.
Product: Base System Reporter: KOJIMA Hajime <kjm>
Component: binAssignee: Giorgos Keramidas <keramida>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description KOJIMA Hajime 1999-08-05 10:10:00 UTC
	FreeBSD's last command does not support -y option.
	GNU version of last command (in acct package) support -y option, 
	and its useful.

Fix: Apply this patch.
How-To-Repeat: 
	% last -y
	last: illegal option -- y
	usage: last [-#] [-f file] [-h hostname] [-t tty] [-s|w] [user ...]
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-16 22:23:08 UTC
State Changed
From-To: open->feedback


Hi, this looks useful, especially with old or long-running wtmp 
files that span multiple years. I think the patch needs some 
updating, and it could be simplified to always append a string 
that is normally empty instead of duplicating all the printfs. 

Anyone feel like updating and cleaning this up?
Comment 2 Giorgos Keramidas freebsd_committer freebsd_triage 2001-11-17 16:32:37 UTC
Responsible Changed
From-To: freebsd-bugs->keramida

I'll take care of this.  If submitter responds to my mail, 
we'll work together on it.  Otherwise I'll see what I can do 
about it by myself.
Comment 3 iedowse freebsd_committer freebsd_triage 2002-03-01 21:12:32 UTC
State Changed
From-To: feedback->closed


Committed to -CURRENT; will be merged into -STABLE in approx 1 week.