Julian Elischer <julian_at_elischer.org> writes: > At various times I've wanted to add timestamps to logfiles as they > are generated.. while read line ; do echo $(date '+%Y-%m-%d %H:%M:%S') "$line" ; done DES -- Dag-Erling Smørgrav - des_at_des.noReceived on Mon Aug 14 2006 - 07:35:34 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC