Re: dealing with funky characters

2003-01-03 Thread John W. Krahn
Willy wrote: > > what i would like to do is the following::: > > open a file of undetermined format, > take all non alphanumeric characters (other than spaces, tabs, \n etc) > and parse the output around them... What about punctuation characters? > open (IN,"file.unknown"); You should _always

dealing with funky characters

2003-01-03 Thread willy
what i would like to do is the following::: open a file of undetermined format, take all non alphanumeric characters (other than spaces, tabs, \n etc) and parse the output around them... open (IN,"file.unknown"); while () { s/insert regular expression here/\n\n; pus