Hi On Dec 4, 7:58 pm, pk <p...@pk.invalid> wrote: > What's wrong with > > seq 4 | while read line; do echo "$(date): $line"; done
it creates a subshell, "seq" was just an example, sorry for the confusion, it could be any other command, and it should run in the current shell. thanks, Peter