From fnaumann@mail.cs.uni-magdeburg.de  Tue Nov 25 14:18:04 2003
To: Ingo Schmidt <ich@der-ingo.de>
Cc: MiNT-Liste <mint@fishpool.com>
Subject: Re: [MiNT] weord string in environment
References: <1079114383.20031124192117@der-ingo.de>
From: Andreas Schwab <schwab@suse.de>
X-Yow: ..  Now KEN and BARBIE are PERMANENTLY ADDICTED to MIND-ALTERING
 DRUGS..
Date: Tue, 25 Nov 2003 14:12:29 +0100
In-Reply-To: <1079114383.20031124192117@der-ingo.de> (Ingo Schmidt's message
 of "Mon, 24 Nov 2003 19:21:17 +0100")
Message-ID: <je3cccioci.fsf@sykes.suse.de>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Delivered-To: mint@fishpool.com
Delivered-To: mint@lists.fishpool.fi
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: schwab@suse.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-ID: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>

Ingo Schmidt <ich@der-ingo.de> writes:

> Hi all!
>
> I do have two weird strings in my environmet, but I haven't got the
> faintest idea where they come from:
>
> Env.-Var. 19: >>which=() {  ( alias && declare -f ) | /usr/bin/which --tty-only --read-alias --read-functions --show-dot --show-tilde $@}<<
>
> What is this?

An exported shell function.

> Who makes that?

$ export -f which

> How can I get rid of that?

$ unset -f which

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


