* bug & fix: Digital's *unsupported* UniCensus
@ 1996-11-07 1:40 Randy M. Hayman
0 siblings, 0 replies; only message in thread
From: Randy M. Hayman @ 1996-11-07 1:40 UTC (permalink / raw)
To: tru64-unix-managers
Problem:
When the nsrjb command (line 1095 of uni_census) is executed and you have
more than one jukebox, it prompts stdin (uni_census script) for which jukebox
to show the contents of - meaning the script just hangs waiting for input.
One possible fix:
Create a file called, say /usr/local/bin/unicensus.nsrjb.input.file
$ cat /usr/local/bin/unicensus.nsrjb.input.file
show name
print type: NSR jukebox
$
Then change line 1095 of the uni_census script from:
nsrjb -v 2>&1 | head -100 > $TEMPDIR/n$$
to the following:
nsradmin -i /usr/local/bin/unicensus.nsrjb.input.file | tr -s [:space:] | tr
-d '";' | awk '{system("nsrjb -Cv -j "$2)}' 2>&1 | head -100 > $TEMPDIR/n$$
Now the script works, and outputs what is expected.
Randy M. Hayman
haymanr@icefog.alaska.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-07 1:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-07 1:40 bug & fix: Digital's *unsupported* UniCensus Randy M. Hayman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox