File: README

package info (click to toggle)
since 1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 288 kB
  • ctags: 300
  • sloc: ansic: 4,326; makefile: 40; sh: 30
file content (51 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download | duplicates (4)
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
43
44
45
46
47
48
49
50
51
Since
-----

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

Installation
------------

To build the executable type:

    make

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

    make install

The default locations are:

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

To change the install location use the prefix variable:

  make prefix=/usr install

Use
---

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

I find it useful to add aliases such as the following to my
.bashrc file

    alias dosince='since /var/log/{messages,syslog,mail.log}'

Other
-----

The since homepage is http://welz.org.za/projects/since

Since is released under the terms of the GNU public license
version 3 or newer, as set out in the file COPYING.