rudolf@morlich.turing.ac.uk (Jim Rudolf) (07/22/90)
For configuration purposes I'm trying to find out what version of xnews a machine has from within a shell script. I tried something like the following line, but I got an error message voicing xnews's displeasure: morlich% xnews 'version =' Process: 0x1b9094 (Unnamed process) Error: unimplemented Stack: Executing: 'version' At: Reading file(?,R) Sic transit gloria PostScript Using the -init flag and/or double quotes didn't seem to help. In fact, I always get the "Sic.." line, for example: morlich% xnews '2 3 add =' 5 Sic transit gloria PostScript BTW, I'm running OpenWindows1.0.1. So my questions are: a) Why am I having trouble passing PostScript as an arg to xnews? b) Is there an alternate way to find out the version? Thanks for the help, -- Jim -- ----------------------------------------------------------------------------- Jim Rudolf The Turing Institute rudolf@turing.ac.uk