VMS: logicals UNIX: links, but...
emcmanus at cs.tcd.ieK
emcmanus at cs.tcd.ieK
Mon Apr 24 08:18:43 AEST 1989
ur u Computer Science Department, Trinity College Dublin
Lines: 18
In article <1009 at quintus.UUCP>, ok at quintus.UUCP (Richard A. O'Keefe) writes:
> Bourne shell: myprog <source >destination 2>error-log
>
> VMS DCL: RUN MYPROG /INPUT=SOURCE /OUTPUT=DESTINATION /ERROR=ERROR-LOG
In fact this is not really what you want in VMS, since /input etc will cause
the program to be run in a subprocess, whereas ordinarily programs are all
run in the same process. So the real VMS syntax is:
$ define loader sys$input source
$ define loader sys$output destination
$ define user sys$error error-log
$ run myprog
which I think is sufficiently gApr 89 1s to discourage people from using
redirection as the main technique to specify files for programs to use.
--
Eamonn McManus emcmanut at cs.tcd.ie uunet!mcvax!cs.tcd.ie!e
More information about the Comp.unix.questions
mailing list