Small hack for adding a timestamp to incoming lines
This commit is contained in:
parent
b51977a693
commit
56d1013408
3
tools/timestamp
Executable file
3
tools/timestamp
Executable file
|
@ -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 . " $_";}'
|
Loading…
Reference in a new issue