> Or maybe you're real script is a lot more complicated than this example? > If so, why not just split your script into two scripts? > > Phillip
That's pretty much the whole thing, actually. It's just an exercise in basic shell scripting. I'm working through the "FreeBSD Unleashed" book, and one of the topics was the exec command. It seemed that exec would be a somewhat higher-performance way of doing file writes. Of course, if performance is really the goal, shell scripting is probably less than ideal... Andrew -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies
