Red Hat Bugzilla – Bug 242077
lesspipe.sh of less needlessly using login shell
Last modified: 2007-11-30 17:12:05 EST
Why on Earth lesspipe.sh is started with a login shell? It just wastes resources
and slows things down unnecessarily as profile scripts are being parsed when
just an ordinary function is used?
I'm attaching the obvious patch to fix this. Please apply.
Created attachment 155897 [details]
Patch to not use login shell in lesspipe.sh
Fixed in less-394-10.fc8.
What login shell? The "-" is an end-of-options marker. Perhaps you're thinking
of "-l", which isn't used.
To be honest, I put in the "-" out of habit, and it's probably harmless to
remove it. However, for the record this patch is unwarranted.