Date: Tue, 9 May 1995 21:34:00 -0700 (PDT) From: Wes Santee <wsantee@wsantee.oz.net> To: freebsd-ports@FreeBSD.org Subject: pdksh errors - Solved! Message-ID: <199505100613.XAA06332@wsantee.oz.net>
next in thread | raw e-mail | index | archive | help
Well, I dunno if anybody has any interest in this, but I solved my earlier problem of pdksh crapping out whenever I tried to run /usr/bin/clear. The error was in the global /etc/ksh.kshrc file. Here is the culprit: HOSTNAME=${HOSTNAME:-`uname -n` HOST=${HOSTNAME%%.*} <--- error My Korn Shell book is at work so I haven't tried to figure out what is wrong with that statement. For all intents and purposes it *should* work. But, I commented it out, and now pdksh is happy. Incidentally, you may recall that the original error was: /usr/bin/clear: 21: syntax error: bad substitution Well, I'll leave it to the reader to figure out what line number the offending statement was in the /etc/ksh.kshrc file. :) Cheers, -Wes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505100613.XAA06332>