[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] weord string in environment

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 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."