Shaunn Johnson wrote: > > --at this point, i'm still trying to figure out > --how to find NEL. the ASCII chart says the following: > > DEC HEX OCT EDT TPU CHAR DESCRIPTION > 10 00A 012 <LF> L/F CTRL-J LF line feed > 13 00D 015 <CR> C/R CTRL-M CR carriage return > > DEC Multinational Character Set Extension of the ASCII character set ^^^^^^^^^^^^^^^^^^^^^^
> DEC HEX OCT EDT TPU CHAR DESCRIPTION > 133 085 205 <NEL> ? NEL next line Anything after 127 is not ASCII, ASCII defines the character set for 0-127. > --i thought it was newline, too, but this seems to just say 'next line'. > --i had imagined that control-m, control-j is what created this, but, > --now i'm not so sure. > > --as i've said, i can do a sed to remove CF and LF, but i'm thinking > --that NEL is just the end of the line and i can't remove it ... or maybe > --i can't replace it ... *shrug* ... > > --i don't know how to isolate characters like this in perl, so, i > --don't have much of a script to show you. i was looking > --at http://groups.google.com and it appears someone just said: > > #!/usr/bin/perl -pi > > chop; > print; > > --but i think i'm doing that wrong (actually, i *know* i am) .... > --so, that's where i am now. > --any suggestions? perl -i~ -pe's/[^[:ascii:]]//' yourfile John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]