Stuart Jansen wrote: > On Fri, 2008-02-01 at 21:11 -0700, Dave Smith wrote: > >> Also, does zsh allow you to trim data from the front of a file >> (presumably a very large one) without shifting all the rest of the >> file's data foreward? >> > > I'm not sure what you mean by the question. Do you mean turn it into a > sparse file will holes replacing the data? I'm also not sure why you'd > be interested in a shell that could do that.
The question came up about a month ago whether you could pause a process while running and re-redirect its output to a different file. As far as the "sparse file" question, no. What I've always wanted is the way to prune off the top, say, 16KB of a 50GB file without having to copy the entire 50GB-15KB into a new file. --Dave -------------------- 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/mailman/listinfo/uug-list
