Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <718198F862F1D411B10F0002A50A4DB10B8282BE@e90wwce3.dx.deere.com> From: "Polley Christopher W" To: "'cygwin AT cygwin DOT com'" Subject: RE: /usr/bin/od -z Date: Tue, 22 Apr 2003 12:12:09 -0500 MIME-Version: 1.0 X-WSS-ID: 12BBA863109827-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit I can't answer whether it's cygwin-related, but using "-t u2z" is a workaround: $ od --help Traditional format specifications may be intermixed; they accumulate: -a same as -t a, select named characters -b same as -t oC, select octal bytes -c same as -t c, select ASCII characters or backslash escapes -d same as -t u2, select unsigned decimal shorts -f same as -t fF, select floats -h same as -t x2, select hexadecimal shorts -i same as -t d2, select decimal shorts -l same as -t d4, select decimal longs -o same as -t o2, select octal shorts -x same as -t x2, select hexadecimal shorts $ od -d /cygwin.ico 0000000 0 1 1 8224 16 0 0 744 0000020 0 22 0 40 0 32 0 64 0000040 0 1 4 0 0 640 0 0 0000060 0 0 0 0 0 0 0 0 0000100 0 0 128 32768 0 32768 128 128 0000120 0 128 128 32896 0 49344 192 32896 0000140 128 0 255 65280 0 65280 255 255 0000160 0 255 255 65535 0 65535 255 0 0000200 0 0 0 0 0 0 0 0 $ od -dz /cygwin.ico od: invalid option -- z Try `od --help' for more information. $ od -t u2z /cygwin.ico 0000000 0 1 1 8224 16 0 0 744 >...... ........< 0000020 0 22 0 40 0 32 0 64 >......(... ...@.< 0000040 0 1 4 0 0 640 0 0 >................< 0000060 0 0 0 0 0 0 0 0 >................< 0000100 0 0 128 32768 0 32768 128 128 >................< 0000120 0 128 128 32896 0 49344 192 32896 >................< 0000140 128 0 255 65280 0 65280 255 255 >................< 0000160 0 255 255 65535 0 65535 255 0 >................< 0000200 0 0 0 0 0 0 0 0 >................< --Chris -----Original Message----- From: Hannu E K Nevalainen Hmm... Is this cygwin related? $ od --help -- 8<-- ... Adding a z suffix to any type adds a display of printable characters to the end of each line of output. ... $ od -dz 'C:\autoexec.bat' | less od: invalid option -- z Try `od --help' for more information. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/