Browse Source

add utility to timestamp lines.. used by streaming..

main
John-Mark Gurney 3 years ago
parent
commit
157e566125
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ts-util

+ 5
- 0
ts-util View File

@@ -0,0 +1,5 @@
#!/bin/sh

while read l; do
echo $(TZ=UTC date +%Y-%m-%dT%H:%M:%SZ) $l
done

Loading…
Cancel
Save