Am 26.07.2012 um 02:14 schrieb Maes, Richard: > Sorry about rebirthing an old thread, but it's too late to change the > channel now... > > I finally got around to looking at this man page issue again. I > descended to the man1 directory and did a ls -lart (only a partial info > shown for brevity) Submit.1.gz is present and qsub.1 is soft linked to > it. Note that I perform the groff on the qsub and it returns a fatal > error below. If I instead run this on submit.1, then I get the 8.1.0 > man page as expected. If I perform a 'man submit' then I get the 8.1.0 > man page as well, but a man qsub gives me a man page from 2003. Is there > some obvious thing about man pages and soft links that I am missing > here? > > Here is my man path > [wagrid03.ciena.com(rmaes)]-> man 117> env |grep MAN > MANPATH=/corp/tools/grid/v8_1_0/man:/usr/share/man:/usr/X11R6/man:/usr/l > ocal/man:/corp/tools/cadence/ius_8_1/share/man > [wagrid03.ciena.com(rmaes)]-> man1 118> ls -lart > total 172 > -rwxrwxr-x 1 gridadm gridadm 23661 May 31 14:19 submit.1.gz > ..... > lrwxrwxrwx 1 gridadm gridadm 8 Jun 12 14:46 qrsh.1 -> submit.1 > lrwxrwxrwx 1 gridadm gridadm 8 Jun 12 14:46 qsh.1 -> submit.1 > lrwxrwxrwx 1 gridadm gridadm 8 Jun 12 14:46 qsub.1 -> submit.1 > drwxr-xr-x 6 gridadm gridadm 4096 Jun 13 14:20 .. > drwxr-xr-x 2 gridadm gridadm 4096 Jun 13 14:20 . > [wagrid03.ciena.com(rmaes)]-> man1 119> groff -Tascii -mandoc qsub > troff: fatal error: can't open `qsub': No such file or directory > [wagrid03.ciena.com(rmaes)]-> man1 120>groff -Tascii -mandoc qsub.1
This should work. A `less` with the same file succeeds? -- Reuti > troff: fatal error: can't open `qsub.1': No such file or directory > > -----Original Message----- > From: Reuti [mailto:[email protected]] > Sent: Friday, June 15, 2012 2:55 AM > To: William Hay > Cc: Maes, Richard; [email protected] > Subject: Re: [gridengine users] 8.1.0 appears to have old manpages. > > Am 15.06.2012 um 10:14 schrieb William Hay: > >> By check the directories out I mean something like (assuming Linux): >> >> cd /corp/tools/grid/v8_1_0/man >> groff -Tascii -mandoc man1/qsub.1 |less > > I get ESCs in the output, "less -R" seems to remove them. > > > In case someone would like to use `man` directly for submit.1: there are > two different versions of `man` around, the one on Linux is different > than the one on a Mac. > > For the Linux versions you can also specify a path to a file instead or > the command or option -l <name> to avoid the ususal search. > > On a Mac the option -l doesn't exist and one has to use a path to acces > a local file. > > -- Reuti > > >> This should give you the qsub manpage. NB it is important you do this > >> from the directory specified in the manpath rather than the one >> containing qsub.1 or any other directory as the SGE qsub.1 manpage >> sources man1/submit.1 for its actual text. >> >> William >> >> _______________________________________________ >> users mailing list >> [email protected] >> https://gridengine.org/mailman/listinfo/users >> > > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
