( ESNUG 279 Item 2 ) ------------------------------------------------ [2/5/98]

From: rramsay1@ford.com (Rodney Ramsay)
Subject: Making Your Own Home Grown Man Pages For PrimeTime

John,

I used to be mad that Synopsys On-Line Documents didn't have man pages for
the commands in PrimeTime.  Now I feel a lot better.  To make this happen,
I used the following trick:

	pt_shell> help * > help.txt

Then use this perl program to awk out some man commands.

	#!/usr/local/bin/perl
	while(<>) {
	   if(m/^\s*(\S+)\s+/) {
	      print "man $1 > $1.txt\n";
	   }
	}

Now, include this output in pt_shell to create all the text versions of
the man files. Put the files in some directory that everybody can access
with their web browser. When you read the directory as a file you see
hot spots for each command and tah-dah, some useful documentation.

Of course you can always use 

	man -M $SYNOPSYS/doc/pt/man <some command>

in Unix but not with the same flair.

  - Rod Ramsay
    Ford Microelectronics     Colorado Springs, CO



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)