simple/ts/ts.sh

7 lines
84 B
Bash

#!/bin/sh
while read a
do
x=$(date '+%Y-%m-%dT%H:%M:%S')
echo "$x $a"
done