🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #1155

unset -f broken 11/16/88 ksh

#1155
From: carroll
Date: Sun, 04 Mar 1990 02:16
30 lines
1412 bytes
Has anyone else noticed this bug with ksh (11/16/88 version):
(System: Sun 3/60, Sun OS4.0.3 and also on '386 with 386/ix 2.0.2)

Given the command (for instance) 'telnet', which on this system is in
usr/ucb/telnet, you get

$ whence telnet
/usr/ucb/telnet

which is correct. But then

$ unset -f telnet
$ whence telnet
telnet

which is wrong. I just told ksh that telnet _wasn't_ a function, and now it
thinks it is. However, I still get

$ type telnet
telnet is /usr/ucb/telnet

What is going on? Is there a fix? Thanks!

Alan M. Carroll                "Like the north wind whistling down the sky,
carroll@cs.uiuc.edu             I've got a song, I've got a song.
Conversation Builder:           I carry it with me and I sing it loud
+ Tomorrow's Tools Today +      If it gets me nowhere, I'll go there proud"
Epoch Development Team          
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll
Technical Details
Message-ID: <22300001@sunb0.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!deimos!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!sunb0.cs.uiuc.edu!carroll

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!deimos!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!sunb0.cs.uiuc.edu!carroll
From: carroll@sunb0.cs.uiuc.edu
Newsgroups: comp.bugs.sys5
Subject: unset -f broken 11/16/88 ksh
Message-ID: <22300001@sunb0.cs.uiuc.edu>
Date: 4 Mar 90 02:16:00 GMT
Lines: 30
Nf-ID: #N:sunb0.cs.uiuc.edu:22300001:000:922
Nf-From: sunb0.cs.uiuc.edu!carroll    Mar  3 20:16:00 1990