*BSD News Article 96736


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.erols.net!newsfeed.internetmci.com!newsfeeder.gi.net!usenet.bridge.com!usenet
From: mhughes@bridge.com (Michael Hughes)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pdksh does not work!!!!! Please help
Date: 2 Jun 1997 18:36:00 GMT
Organization: Bridge Information Systems, Inc.
Lines: 28
Message-ID: <5mv3qg$s9k@usenet.bridge.com>
References: <3391B2A4.41C67EA6@adelphia.net>
Reply-To: mhughes@NOSPAM.bridge.com
NNTP-Posting-Host: logroad.bridge.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42061

In article <3391B2A4.41C67EA6@adelphia.net>,
	Glen <gippolit@adelphia.net> writes:
> When I try to use print from the command line no problems,
> but if I use print in a shell script it say's can't find 
> print!!!!
> 
> I alway's thought that print was a shell built in.
> 
> 
> Here is a copy of my /etc/passwd and /etc/shells!!!
> 
> Please help!!!!!
> 
> Very lost...

put #!/usr/local/bin/ksh as the first line in your shell script and it will 
work.  If this isn't in the file, it will use sh.  Hope this helps!


-- 
-------------------------------------------------------------------------------
 _ _ _                    _    _    ,                    Loghome living is the 
' ) ) )      /           //   ' )  /         /                          best ! 
 / / / o _. /_  __.  _  //     /--/ . . _,  /_  _  _                           
/ ' (_<_(__/ /_(_/|_</_</_    /  (_(_/_(_)_/ /_</_/_)_                         
Bridge Information Systems, Inc.        /|                                    
St Louis MO                             |/                  mhughes@bridge.com 
-------------------------------------------------------------------------------