Kent A. Reed wrote: > Gentle persons: > > Almost as soon as the Unix coding began at Bell Labs nearly 40 years > ago, there arose a need for to examine the contents of various files, > for example, because there were as many different character encoding > schemes as there were computer manufacturers in those days. > > The primitive but powerful utility program "od" (for "octal dump") was > created for this purpose. I've found it in every distribution of > Unix/Linux I've ever used and I highly recommend using it to examine any > questionable file. You can find out instantly if questionable character > coding exists in your file. Use "man od" to get specifics. > Yes, you want to use : od -c <file name> | more
for most of this sort of checking. The -c dumps each character with some readable identification, even if it has to resort to the octal code when there is not printable representation. More puts it out one page at a time. Jon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users