#!/bin/sh while read -r line ; do echo "[$(date +"%F %T")]: ${line}" done