Shantanu.ade
Right off the assembly line
Hello everyone !
I am referring shell scripting. So I came across various strengths of scripting. I was just thinking whether following idea is possible:
suppose I am having a text file containing 10 lines. Now I want to create file1 with line1 of it. Then file2 having line2 of text file and so on. So for this 10 lines in the text file I'll be having 10 new files containing a single line.
Also while giving solution, if you explained it a little, it'll be more helpful since I am new to scripting.
I am referring shell scripting. So I came across various strengths of scripting. I was just thinking whether following idea is possible:
suppose I am having a text file containing 10 lines. Now I want to create file1 with line1 of it. Then file2 having line2 of text file and so on. So for this 10 lines in the text file I'll be having 10 new files containing a single line.
Also while giving solution, if you explained it a little, it'll be more helpful since I am new to scripting.