Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Gerald A. Feldman" <gaf@mediaone.net>
To: Russell F Glissmann <rglissma@carbon.cudenver.edu>
Subject: Re: Korn Shell login problems
Date: 1997/05/15	[thread overview]
Message-ID: <337BBBD4.67BEBDB8@mediaone.net> (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
> #if [-a /etc/kshrc]; then ./etc/kshrc fi
> if [-a "${ENV}"]; then .${ENV} fi
> fi 2>/dev/null
> stty istrip
> stty erase ^?
> export PATH=$HOME/bin:/usr/ucb:/etc:/bin:/sbin:/usr/bin:/usr/sbin:
> /usr/etc:/usr/bin/X11:/usr/local/etc:/usr/local/bin:/usr/new:/usr/
> ames:.
> export PATH
> ENV=$HOME/.kshrc;export ENV
> SHELL=/usr/bin/ksh;export SHELL
> EDITOR=/USR/BIN/VI;export EDITOR
>
> Here is the error message I get: .profile[3]: syntax error: `if'
> unmatched
> If someone could look and tell what is not correct I would be
> gratefull.
>
The line below is your problem.
fi 2>/dev/null

--
 Jerry Feldman <gaf@mediaone.net>
 Boston Computer Solutions and Consulting
 http://gaf.ne.mediaone.net/




  reply	other threads:[~1997-05-15  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 [this message]
1997-05-16  4:00 ` Vincent
1997-05-19  4:00 ` Bob Vickers
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