1#!/usr/bin/awk -f
2
3BEGIN {
4 # Get current epoch by initializing the PRNG with it.
5 srand()
6 startup = srand()
7}
8
9/\a$/ {
10 if ($1 <= startup)
11 $0 = substr($0, 0, length($0) - 1)
12}
13
14{
15 print
16 fflush()
17}
A frontend for the hii IRC client
git clone https://git.8pit.net/insomnia.git
1#!/usr/bin/awk -f
2
3BEGIN {
4 # Get current epoch by initializing the PRNG with it.
5 srand()
6 startup = srand()
7}
8
9/\a$/ {
10 if ($1 <= startup)
11 $0 = substr($0, 0, length($0) - 1)
12}
13
14{
15 print
16 fflush()
17}