On Sun, Apr 10, 2011 at 10:08:24AM -0400, Ian Darwin wrote:
Having tried to do things like gzcat /var/log/wtmp.0.gz | last -f /dev/stdin
before, I'd certainly find it useful and this is less intrusive than
modifying
last(8) so it could work with standard input.
Unless you run an
On 2011/04/10 00:02, Peter J. Philipp wrote:
Hi,
while going through my wtmp with last(1) I noticed there could be a better
way than always gunzip'ing wtmp files and then using last -f. I've made
a patch for your consideration that does the following:
a) it checks if the file is a
while going through my wtmp with last(1) I noticed there could be a better
way than always gunzip'ing wtmp files and then using last -f. I've made
a patch for your consideration that does the following:
b) it writes the gzipped file to a /tmp location uncompressed so that the
normal
On 2011/04/10 10:08, Ian Darwin wrote:
while going through my wtmp with last(1) I noticed there could be a better
way than always gunzip'ing wtmp files and then using last -f. I've made
a patch for your consideration that does the following:
b) it writes the gzipped file to a /tmp
Hi,
while going through my wtmp with last(1) I noticed there could be a better
way than always gunzip'ing wtmp files and then using last -f. I've made
a patch for your consideration that does the following:
a) it checks if the file is a gzipped file by looking at the wtmp's file magic
b) it