commit 0c2375b97b32328eb4525527f0adf55a71a1d408 parent 683539fa6354a4ddd2e70eb9670bfb94c4677608 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 30 Aug 2020 20:23:25 +0200 Add timestamp script Diffstat:
A | .local/bin/timestamp | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.local/bin/timestamp b/.local/bin/timestamp @@ -0,0 +1,4 @@ +#!/bin/sh +while read -r line; do + printf '%s %s\n' "$(date '+%H:%M:%S')" "$line" +done