Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Q: VMS equivalent of UNIX od?
@ 1994-08-23 12:59 A HATJIEVGENIADU
       [not found] ` <33d03m$47i@jac.zko.dec.com>
  0 siblings, 1 reply; 2+ messages in thread
From: A HATJIEVGENIADU @ 1994-08-23 12:59 UTC (permalink / raw)



Hello,

I am writing some software that processes text for a European Libraries
project and when it is used in VMS environment it gives some unexpected
results. I am not familiar with VMS and I think it might help if I could 
see the octal values of the input and outpout files.

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.
I would be grateful if anyone could help.

Thanks

Amalia


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Q: VMS equivalent of UNIX od?
       [not found] ` <33d03m$47i@jac.zko.dec.com>
@ 1994-08-23 14:32   ` Stephen Hoffman
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hoffman @ 1994-08-23 14:32 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-08-23 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-23 12:59 Q: VMS equivalent of UNIX od? A HATJIEVGENIADU
     [not found] ` <33d03m$47i@jac.zko.dec.com>
1994-08-23 14:32   ` Stephen Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox