6

How to read from specific line number in shell script?

view full story
linux-howto

http://www.unix.com – I have a text file which is having 30000 lines in it. I have to create a xml file for each 10000 lines until all the lines in the text files are written. Also please help how can i get number of lines in the text file in a shell variable? (HowTos)