From: Mark Hubbart Date: 2005-06-23T01:47:51+09:00 Subject: Re: Newbee: recursively converting LF to CRLF and vice versa On 6/22/05, Ryan Leavengood wrote: > As Mark Hubbart says binary files can usually be determined by looking for > control characters. Unfortunately [[:cntrl:]] matches newlines, so that > isn't the character class to use. This should work fairly well: Gah! what is wrong with me? *hides face* cheers, Mark