Dear experts
I have a big file containing several profiles each flagged with "PROFILE" at the beginning of each one. I am trying to use the following command in cshell to seperate each profile and save each one in seperate file. I wrote a script as following:
I was expecting that it will create different files like file1, file2, ... for each profile but it is not the case. It may need to introduce variable i somehow to shell environment but how can I manage " i " in nawk command can be recognized in shell environment.
Thanks in advances for your advises.
Reza
Thanks a lot for your prompt reply. It works. Just as a question is it possible if you please recommend a good reference in unix scripting that you prefer.
could you please tell me how to convert a horizontal line into a vertical line using UNIX.
I have 07:37:37 07:31:29 07:21:18 07:08:55 07:08:30 07:00:34 06:53:40 this in a file
.