Skip to content

Commit

Permalink
Small hack for adding a timestamp to incoming lines
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdunkels committed Nov 12, 2007
1 parent b51977a commit 56d1013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/timestamp
Original file line number Diff line number Diff line change
@@ -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 . " $_";}'

0 comments on commit 56d1013

Please sign in to comment.