On Tue, 30 Mar 2010, Michael Hagedorn wrote: > while read -r; do > echo "[$(date)]: $REPLY" > >>/usb/BigDrive/CurrentCost/CurrentCost_$(date +"%Y_%m_%d").log > done > > > In mine is the .log file opened for writing for every line or is it > kept open until the name changes?
The .log file will be opened (and the $(date) call made) on each line read. > Should I worry about that? I doubt it. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
