( ESNUG 274 Item 4 ) --------------------------------------------- [12/10/97]
From: mark_indovina@pts.mot.com (Mark Indovina)
Subject: Script To Call Synopsys On-Line Help W/O Tying Up A Licence
Hi John,
I don't know if this was discussed before, but a while back I got tired of
typing the explicit path to the Synopsys On-Line help (and chewing up a
Synopsys license just to start the help viewer). Anyway, I thought this
script might come in handy to others; it's not much but it works.
#!/bin/csh -f
set ileaf = iview1/bin/iview
if (${?SYNOPSYS} == 0) then
set root = $0
set root = ${root:h}
set root = ${root:h}
set root = ${root:h}
set root = ${root:h}
else
set root = ${SYNOPSYS}
endif
set viewer = ${root}/${ileaf}
${viewer}
It should optimally be installed in the user's ${SYNOPSYS}/${ARCH}/syn/bin
directory.
- Mark A. Indovina
Motorola
|
|