File: 1.txt

package info (click to toggle)
clog 1.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 680 kB
  • sloc: cpp: 8,670; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 889 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
Clog has some basic features, for example, it can prepend timestamps to text:

$ head -5 hamlet | clog --date
2013-04-11 FRANCISCO at his post. Enter to him BERNARDO
2013-04-11 BERNARDO Whos there?
2013-04-11 FRANCISCO Nay, answer me: stand, and unfold yourself.
2013-04-11 BERNARDO Long live the king.
2013-04-11 FRANCISCO Bernardo?

$ head -5 hamlet | clog --time
21:20:17 FRANCISCO at his post. Enter to him BERNARDO
21:20:17 BERNARDO Whos there?
21:20:17 FRANCISCO Nay, answer me: stand, and unfold yourself.
21:20:17 BERNARDO Long live the king.
21:20:17 FRANCISCO Bernardo?

$ head -5 hamlet | clog --date --time
2013-04-11 21:20:22 FRANCISCO at his post. Enter to him BERNARDO
2013-04-11 21:20:22 BERNARDO Whos there?
2013-04-11 21:20:22 FRANCISCO Nay, answer me: stand, and unfold yourself.
2013-04-11 21:20:22 BERNARDO Long live the king.
2013-04-11 21:20:22 FRANCISCO Bernardo?