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

Re: less quits manpage display prematurely



On Wed, May 13, 1998 at 11:16:43AM -0400, Brian Mays wrote:
> This is a bash bug.  See Bug#21511.
You hit the nail on the head. I'd never suspected bash.

Is there any chance this gets fixed?

I have the following in /etc/profile
...
set -a
source /etc/environment
set +a
...
because ssh uses /etc/environment and won't accept the export there.

Other that the +a -a I can only thing of the following ugly hack

TEMP=`mktemp /tmp/souXXXXXX`
grep -v '^#' /etc/environment| (while read i; do
   echo "export " "$i">>$TEMP;
done)
source $TEMP
rm -f $TEMP

which slows down any new shell. Grmmbl. Better ideas?

Is this reported to the upstream maintainers?

Nils

--
*-----------------------------------------------------------------------------*
| Quotes from the net:  L> Linus Torvalds, W> Winfried Truemper               |
| L>this is the special easter release of linux, more mundanely called 1.3.84 |
| W>Umh, oh. What do you mean by "special easter release"?. Will it quit      |
* W>working today and rise on easter?                                         *

Attachment: pgppnSBWslGky.pgp
Description: PGP signature


Reply to: