Re: combining lines in a tagged text file

2001-06-19 Thread Aaron Craig
Try this. * warning * assumes all your input files will look like your example -- ie a bunch of text to copy directly over to the output file followed by a chunk of 's followed by more stuff to copy __start code__ open(IN, "in.txt") || die("Could not open file $!"); open(OUT

Re: combining lines in a tagged text file

2001-06-19 Thread Aaron Craig
Try this. * warning * assumes all your input files will look like your example -- ie a bunch of text to copy directly over to the output file followed by a chunk of 's followed by more stuff to copy __start code__ open(IN, "in.txt") || die("Could not open file $!"); open(OUT

combining lines in a tagged text file

2001-06-18 Thread Paul_Binkley
Hello All -- I'm new to this forum, and hope someone can help me with a seemingly simple problem. I am reading in a tagged text file, and isolating my efforts to a particular field within. I need to analyze each line ,determine if I have a certain matching string, and if I do, combine them an