[Info-vax] Some questions on software for VMS 7.3 VAX

lists at openmailbox.org lists at openmailbox.org
Mon Jan 11 12:52:22 EST 2016


On Mon, 11 Jan 2016 18:21:10 +0100
hb via Info-vax <info-vax at rbnsn.com> wrote:

> On 01/11/2016 04:52 PM, lists at openmailbox.org wrote:
> > Not a lot to like about UNIX but I still can't get used to not having
> > a version command or option on VMS/VAX. Had to see what sys$help
> > there was to find out what version I had.
> 
> The version is usually in the compiler listing, on each page.

Yeah I know. That's where I usually find it. I just forgot to leave a
listing around and it was easier to go fishing in sys$help. I understand at
some point later in time they did standardize a /VERSION switch.

> On recent VMS versions with "pipe" one can get to the version with
> something like 
> 
> $ pipe fort/old/list=sys$output nl:/noobj | (read sys$pipe x ;
> x=f$edit(x,"compress,trim") ; x=x-f$element(0," ",x)-f$element(1,"
> ",x)-"Page 1" ; write sys$output f$edit(x,"trim"))
> Compaq Fortran 77 V7.2-180

That's truly horrible, man. It looks like Perl.

> Or, if you like GNV more than UNIX :-)

Less, actually.

> bash-4.3$ dcl 'fort/old/list=sys$output nl:/noobj' | head -n1 | awk
> '{for (i=3; i<NF-1; i++) printf "%s ", $i; printf "\n"}'
> Compaq Fortran 77 V7.2-180
> bash-4.3$

I can say with certainty "No VMS system of mine is ever gonna have bash on
it!" I don't even use bash on UNIX! On VMS how much more so!

> Shouldn't be a big deal to write a generic script to do this for all the
> compilers, available on your system.

Probably easier and less offensive to just remember to leave listings lying
around in dev directories. Thanks, I'm gonna be sick now.. ;-)

-- 
Please do not copy me on mailing list replies. I read the mailing list.
RSA 4096 fingerprint 7940 3F02 16D3 AFEE F2F8  ACAA 557C 4B36 98E4 4D49




More information about the Info-vax mailing list