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.no