Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site tektools.UUCP
Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!cord!hudson!bentley!hoxna!houxm!mhuxj!mhuxr!ulysses!allegra!bellcore!decvax!tektronix!daemon!tektools!jerryp
From: jerryp@tektools.UUCP (Jerry Peek)
Newsgroups: net.unix
Subject: Re: 2 shell questions before the new year
Message-ID: <84@tektools.UUCP>
Date: Sat, 5-Jan-85 16:31:56 EST
Article-I.D.: tektools.84
Posted: Sat Jan  5 16:31:56 1985
Date-Received: Tue, 8-Jan-85 03:57:52 EST
References: <6822@brl-tgr.ARPA> <450@ukma.UUCP>
Reply-To: jerryp@tektools.UUCP (Jerry Peek)
Distribution: net
Organization: Tektronix, Beaverton OR
Lines: 32
Summary: 

In article <450@ukma.UUCP> david@ukma.UUCP (David Herron, NPR Lover) writes:
>The "#!" form has other uses as well.  Please peruse our phones command.
>
>	#! /bin/grep ^[^#]
>	The phone numbers to dial to reach the VAX-11/750 are:
>	   
>		ttyh8	257-1474
		    .
		    .

This also works well with "more +2"... to make a self-contained help program
that paginates itself (don't even bother flaming about "more", please):

      #! /usr/ucb/more +2
      For help with UNIX, call the Tek UNIXhelp hotlines: 627-5245 or 629-1630.
      UNIX classes are available at Tek: Call 627-1602 for information.

      The "sysinfo" command will give you a menu of tektools system information.

      The commands:
	      apropos topic		lists commands relevant to the topic
	      man command		shows the manual for a command
		.
		.
		.
		.

--Jerry Peek, UNIX Training Instructor, Tektronix, Inc.
US Mail:    MS 76-036, P.O. Box 500, Beaverton, OR 97077
uucp:       {allegra,decvax,hplabs,ihnp4,ucbvax}!tektronix!tektools!jerryp
CS,ARPAnet: jerryp%tektools@tektronix.csnet
Phone:      503/627-1603