Date: Wed, 14 Oct 1998 14:02:04 GMT From: groggy@iname.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/8319: lost alias due to exports in .profile Message-ID: <199810141402.OAA11388@froggy.anchorage.ptialaska.net>
next in thread | raw e-mail | index | archive | help
>Number: 8319
>Category: bin
>Synopsis: lost alias due to exports in .profile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 14 16:30:01 PDT 1998
>Last-Modified:
>Originator: Steve Howe
>Organization:
none
>Release: FreeBSD 2.2.7-RELEASE i386
>Environment:
sh shell
sh shell (login time)
>Description:
if a ".profile" contains "export VAR=value" lines,
aliases are lost from the file in the ENV variable
when logging into a 2.2.7 system.
>How-To-Repeat:
IN A USER DIRECTORY:
(the alias "a" will not function unless
export TERM=cons25 -> TERM=cons25; export TERM)
#!/bin/sh
echo ~/.profile
export TERM=cons25
ENV=~/.shinit; export ENV
echo
#!/bin/sh
#echo ~/.shinit
a="alias|sort|more"
q="cd /home/user; ls"
>Fix:
unknown
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810141402.OAA11388>
