From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1164f8,350c43b26eb565e6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-23 08:01:04 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!elroy.jpl.nasa.gov!decwrl!src.dec.com!crl.dec.com!jac.zko.dec.com!xdelta.enet.dec.com!hoffman From: hoffman@xdelta.enet.dec.com (Stephen Hoffman) Newsgroups: comp.sys.dec Subject: Re: Q: VMS equivalent of UNIX od? Date: 23 Aug 1994 14:32:52 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <33d1ak$4t4@jac.zko.dec.com> References: <1994Aug23.125938.24543@bradford.ac.uk> <33d03m$47i@jac.zko.dec.com> Reply-To: hoffman@xdelta.enet.dec.com (Stephen Hoffman) NNTP-Posting-Host: XDELTA X-Newsreader: mxrn 6.18-16 In article <1994Aug23.125938.24543@bradford.ac.uk>, A.Hatjievgeniadu@bradford.ac.uk (A HATJIEVGENIADU) writes: |>Is there a command in VMS similar to the command 'od' of UNIX? |>'od' displays a file in different formats and can display it with all the |>bytes interpreted as octals. Steve Lionel's comment on DUMP is on the mark. But if you really like od, then you can use od... psx> man od od The od (octal dump) utility dumps files to the standard output in various formats. IEEE Std P1003.2/D10, �4.44; X/Open Portability Guide Issue 3: XSI Commands and Utilities, Page 197. Format od [-v] [-A address_base] [-n count] [-S skip] [-t type_string] [file ...] od [-bcdosx] [file] [[+]offset[.][b]] od [-bcdDhoOsxX] [file] [[+]offset[.][b]] (POSIX for OpenVMS VAX only) .... The above excerpt is from the POSIX for OpenVMS VAX package. [POSIX is licensed as part of OpenVMS VAX V5.5 and later. It is seperately installed.] From DCL, POSIX commands such as od can be directly invoked as in the following example: $ posix/run posix$bin:od. login.com Steve "POSIX" Hoffman -- ------------------------------ Opinionative ------------------------------- Stephen Hoffman, EMT-I hoffman@xdelta.enet.dec.com OpenVMS Engineering, Digital Equipment Corporation, Nashua NH