aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/last.c
AgeCommit message (Collapse)Author
2017-05-26Be more consistent about periods in help text.Elliott Hughes
2016-08-04Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,Rob Landley
add xopenro() that takes one argument and understands "-" means stdin, and switch over lots of users.
2014-05-23Ashwini Sharma pointed out I screwed up last.c.Rob Landley
Renamed the function, missed a user...
2014-05-21Make last use common llist free function, minor cleanups.Rob Landley
2014-05-10sizeof("string") treats it as a char array _including_ the null terminator, ↵Rob Landley
so strncmp(dest, "string", sizeof("string")) is just strcpy.
2014-05-10Initial cleanup of last: mostly whitespace, move no record test to start of ↵Rob Landley
loop, don't bother to stat an empty file to report when an empty log was created (just report current time).
2014-04-23usage: is lower case (the help generator looks for that, might as well be ↵Rob Landley
consistent).
2013-12-23Two more commands (last and more) submitted by Ashwini Sharma.Rob Landley