RE: Quick Help...Shell script...
Posted in 2000
Check out sed, something like sed '100p' <filename >filename1 Paul Watson WF Software Ltd Tel: +44 1436 674729 Fax: +44 1436 678693 www.wfsoftware.com/informix > -----Original Message----- > From: Prasad Mahale [mailto:gs0528@hotmail.com] > Sent: Tuesday, September 05, 2000 07:30 > To: informix-list@iiug.org > Subject: Quick Help...Shell script... > > > Hi All, > How can i get nth line (for example say 100th line) from a text file > directly? > I don't want to scan whole file for that using a loop. > Like TOP and TAIL command, is there anything to read a range of lines > in-between? > > Thanks in advance > Prasad > > > ______________________________________________________________ > ___________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. >