I wasn't at first, then I re-read OP which said "looking for an empty line at the top of a file", and made me re-consider and add it in. I still don't know if bailing on blank lines is what the OP really needs/or wants, but from that quote i think it's possible so i figured i'd just throw it in and comment it and let OP go from there...
Maybe i read too far into it -- none of the other responsers intrepeted it that way, but maybe they were going just off of the sample code... | [reply] |