ksh 88 problem
Peter McLain
pbm at hpfcdc.HP.COM
Sat Jul 14 01:57:18 AEST 1990
>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 at hplabs.HP.COM Fort Collins
UUCP: hplabs!hpfcla!pbm CO 80525-9599
More information about the Comp.unix.questions
mailing list