dot

packages and services management
Log | Files | Refs | README

commit fc6d9ad9a8e5eed17088bb6dcf25c5f43640353e
parent 21bc1ac06d59585dd865c12cab682df8325a8545
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 20 May 2017 15:37:07 +0200

yet another ii-filter

Diffstat:
Abin/ii-filter-3 | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/bin/ii-filter-3 b/bin/ii-filter-3 @@ -0,0 +1,18 @@ +# http://tools.suckless.org/ii + +awk ' +{ + last = date; + date = $1; +} + +date != last { + printf("----------------( %s )----------------", date); +} + +{ + printf("%s %14s ", $2, $3); + sub("[^ ]* *[^ ]* *[^ ]* *", ""); + +} +'