File: README

package info (click to toggle)
since 0.5-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 84 kB
  • ctags: 29
  • sloc: ansic: 467; makefile: 61
file content (42 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Since
-----

since is a tail(1) with state - it allows the user to
view only the lines appended to a log file since the last
time since was used.

Installation Instructions
-------------------------

To build the executable type:

    make

To copy the executable and manual page, become root and type:

    make install

The default locations are:

    /usr/local/bin/since
    /usr/local/man/man1/since.1

Use
---

To understand how it works run the commands:
  
    make
    echo "First line" >> testlogfile
    ./since testlogfile
    echo "Second line" >> testlogfile
    ./since testlogfile
    rm testlogfile

You might want to set up the following alias:

    alias dosince='since /var/log/messages /var/log/xferlog'

Since is released under the terms of the GNU public
license. Click accept now... errr... sorry... just
look at COPYING.