Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Bob Vickers <bobv@dcs.rhbnc.ac.uk>
To: Russell F Glissmann <rglissma@carbon.cudenver.edu>
Subject: Re: Korn Shell login problems
Date: 1997/05/19	[thread overview]
Message-ID: <33801E7A.167E@dcs.rhbnc.ac.uk> (raw)
In-Reply-To: 5lflbt$92e@carbon.cudenver.edu


Russell F Glissmann wrote:
> 
> Hello all;
> I recently changed over to using the Korn shell.  When I login I keep gettin
> indicating an error message indicating a problem in my .profile script.
>  For me the script looks to be okay.  I imported the .profile from a
> Sun system, and the server I'm running on now is a Dec Alpha running
> OSF/1 v 3.0.  Here is the script itself: @(#)local.profile setup
> #
> if ["`basename ${SHELL}`"=="ksh"]; export ENV=${HOME}./kshrc fi

There are at least 5 errors in that line, and more in the rest of the
script. You need to test it carefully both on the Sun system and the OSF
one.

if [ "`basename ${SHELL}`" = "ksh" ]; then export ENV=${HOME}./kshrc ;
fi

will sort out line 3. Note the addition of white space, the replacement
of == by =, the addition of 'then' and a semi-colon before the 'fi'.

Bob
-- 
======================================================================
Bob Vickers			R.Vickers@rhbnc.ac.uk
Dept of Computer Science, Royal Holloway College, University of London
WWW:	http://www.dcs.rhbnc.ac.uk/%7Ebobv/
Phone:	+44 1784 443691



      parent reply	other threads:[~1997-05-19  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-15  4:00 Korn Shell login problems Russell F Glissmann
1997-05-15  4:00 ` Gerald A. Feldman
1997-05-16  4:00 ` Vincent
1997-05-19  4:00 ` Bob Vickers [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox