Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!ucsd!ucbvax!hplabs!hpfcso!hpfcdc!pbm From: pbm@hpfcdc.HP.COM (Peter McLain) Newsgroups: comp.unix.questions Subject: Re: ksh 88 problem Message-ID: <5740055@hpfcdc.HP.COM> Date: 13 Jul 90 15:57:18 GMT References: <1990Jul11.155602.13090@axion.bt.co.uk> Organization: HP Ft. Collins, Co. Lines: 17 >I've just built the 11/16/88 version of ksh and have noticed the >following anomaly. When trying to use filename expansion on a single >file an additional space is tagged on the end. This never used to happen >with the 06/03/86 version. Does anyone have a fix for this? I believe this is a feature of ksh88. If you want to turn it off, look in sh/edit.c near the end of ed_expand(). In the last #ifdef tenex section, ' ' is appended to "out". You could also experiment with #undef tenex (it is turned on if you are making ESH or VSH), but this may get rid of other features you want. Peter McLain Hewlett-Packard 3404 East Harmony Road pbm%hpfclg@hplabs.HP.COM Fort Collins UUCP: hplabs!hpfcla!pbm CO 80525-9599