I have simple awk scripts which copies information from one file based on the conditions satisfied and pastes to another. When I execute this script, no eeor is invoked, it just runs without doing anything and when I abort it using ctrl D, it executes END loop and prints Done on the terminal. What is wrong with my script. Any suggestion/advice.
Hi Ron:
Thanks for sharing possibilities. It seems to me first, I should look into the way files were created. I create these files using a function and then process them. I am going to look into the way files are created. If I am unable to figure it out even after manipulating function, I will surely post sample files.
Thank you Ron for your reply. However, yes, I can get the same functionality with shift operator but the formatting is still shifted. In the sense, content from the second small file is shifted by one space.
Assembling small files in a large file but format is shifted
Hi Perl Experts:
I am relatively new to perl and did try to solve the problem by searching books and web but could not exactly solve it. Here is the problem. I want to gather "*.igf" files and put all the lines from these files in a larger file. However, each small file has a header on the first line. I want header only once in a bigger file. My current code does everything fine except content from file other than first file is shifted...
Leave a comment: