isn't there a limit to the size of each variable? In any case, I think I've solved the issue. The binary was a split up gzip file, and gzip seems to ignore the EOF chars if you do something like: cat file_* | gzip -cd > file Jay > -----Original Message----- > From: Yaron [mailto:jethro at freakzilla.com] > Sent: Friday, April 13, 2001 12:22 AM > To: 'tclug-list at mn-linux.org' > Subject: Re: [TCLUG] strip EOF from binary file > > > Hi, > > On Thu, 12 Apr 2001, Austad, Jay wrote: > > > Ok, so I have this very large binary file that has been > split up into > > sections. I want to put it back together, but I need to > remove the EOF > > character from the end of each section before I stitch it > back together. > > How do I go about this? It's binary, so I don't think I can use tr. > > Didn't see any other answers... > > Do it in perl? Read each file into a variable and chop off the last > character if it's EOF? > > -Yaron > > -- > > _______________________________________________ > tclug-list mailing list > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list >