The fix for bug 334771 has a presumably unintended side effect.

04:26:04 # ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Jan  2 17:20 /dev/null
04:26:07 # export HOME=/tmp
04:26:09 # ln -s /dev/null /tmp/.lesshst
04:26:12 # less /etc/passwd
04:26:18 # ls -l /dev/null
crw------- 1 root root 1, 3 Jan  2 17:20 /dev/null
04:26:21 # 

Is it too late to rethink this new feature?  I've always hated the way
bash treats HISTFILE, and I've always resented the need to pollute my
environment to dodge that turd file, and I don't want to pollute my
environment yet again every time some new (or new version of an old)
application decides it's time to add another gratuitous turd file.

I don't object to the fact that less provides a history feature.  My
point is that it needs to be optional.

In case it's not obvious, "rethink this new feature" means "make the
history file optional".


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to