[<<]Message[>>]    [<<]Author[>>]    [<<]Subject        [<<]Thread    

Number : 3010 Date : 2002-10-29 Author : Garry Deane Subject : Re: copy n lines in txt file Size(KB) : 0
--- In xxcopy@y..., "Massimo Petrini" wrote: > Which command I need to use to copy only n lines of a txt files > in a new file ? Depending on your data and OS, you could probably do it in batch but I'd suggest using either HEAD (http://www2.informatik.tu- muenchen.de/pub/sw/UnxUtils.html) or SED (http://www.student.northpark.edu/pemente/sed/index.htm). With SED you'd do the following: SED 10q newfile Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.