From 56d1013408fc84b1e3781b191de4f590848e9acf Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 12 Nov 2007 11:48:49 +0000 Subject: [PATCH] Small hack for adding a timestamp to incoming lines --- tools/timestamp | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 tools/timestamp diff --git a/tools/timestamp b/tools/timestamp new file mode 100755 index 000000000..16db8c988 --- /dev/null +++ b/tools/timestamp @@ -0,0 +1,3 @@ +#!/bin/sh +# We run perl through a shell to avoid having to hard-code the path to perl +perl -e '$|=1; while(<>) {print time . " $_";}'