Relying on any sort of environment variable seems problematic, and my
suggestion especially will not work, because the division isn't between
"bash and all other shells", but "csh and derivitaves vs all other
shells."

Hadmut's solution or a similar one seems like the right direction to
take on this, but it would require special handling to deal with
/filename/ arguments passed to lesspipe when the filename itself is '-c'
or somesuch (which is possible with, say "less -- -c").

I'd like to get this out of the Unconfirmed/Untriaged state at least,
and seems to me the right thing to do would be Reject the bug for bash
(as it's not really bash or bashrc's bug) and Confirm it for less. If it
is later necessary for the .bashrc to be adjusted to the improvements
for lesspipe, we can submit a new bug for that at that time.

If someone disagrees with me regarding bash, feel free to reopen the bug
for it. If someone disagrees with me regarding less, I'd appreciate
undertaking further discussion on it before Rejecting it.

** Changed in: bash (Ubuntu)
       Status: Unconfirmed => Rejected

** Changed in: less (Ubuntu)
       Status: Unconfirmed => Confirmed

-- 
/etc/skel/.bashrc - lesspipe problem
https://launchpad.net/bugs/58103

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to